Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

less customization
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: less customization

less customization 8 years, 8 months ago #27562

Hello,

I'll start customizing the template, and I see no documentation about do it with less.
The first thing I do is change the logo on the other wider.
To do this, apart from that fact in the template, I need to change the layout.less file on line 44.
original:
padding: 17px 52px 18px; text-align: center; max-width: 220px;

new:
padding: 17px 0; text-align: center; max-width: 220px;

If they change, it works perfectly, but in the next update of the template will miss my change.
How can I do ?, Is there any documentation about it?
Logically, it is not only this change, but many others.

Regards

Re: less customization 8 years, 8 months ago #27567

  • thuygtn
Dear acebeda,

Did you change the css files?
If you want to change code in css file, you need disable the option 'Development with lesscss':

Please go to admin: Template Manager >> edit SJ Flooring >> in Advanced tab >> choose No in 'Development with lesscss' option.

Thanks

Re: less customization 8 years, 8 months ago #27568

Hello,

Please reread my message.

Everything works fine, I want to work with less, not css files.

My question is about how to work with less files and customization is not lost in the next update of the template.

Regards
Last Edit: 8 years, 8 months ago by acebeda.

Re: less customization 8 years, 8 months ago #27591

  • thuygtn
Dear sir,

I have downloaded the template package, the code still there.
Please go to the file templates\sj_flooring\less\layout.less and find:

#yt_logo {
.logo {
display: block; border-right: @borderColor 1px solid;
padding: 17px 52px 18px; text-align: center; max-width: 220px;
}
}

=> Edit to:

#yt_logo {
.logo {
display: block; border-right: @borderColor 1px solid;
padding: 17px 0; text-align: center; max-width: 220px;
}
}

Thanks
  • Page:
  • 1
Time to create page: 0.40 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes