-
AuthorPosts
-
July 9, 2015 at 6:35 pm #576871
jooservices
The task. Result need to get!
Cancel (!)! Important rule for the same item!
No selector priority.
width: 100% !important;
Result
width: 100%;
You can remove the !Important rule of template.css. But it returns (overwrite) after compile LESS to CSS.
Sorry for my English.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 10, 2015 at 1:01 am #576880Hello Templater
If you will provide details of your site (url) and the screenshot where i can see this code .
i can let u know the exact path . Without giving details how we will suggest you answers .jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 10, 2015 at 1:36 am #576885<em>@templater 482059 wrote:</em><blockquote>jooservices
The task. Result need to get!
Cancel (!)! Important rule for the same item!
No selector priority.
width: 100% !important;
Result
width: 100%;
You can remove the !Important rule of template.css. But it returns (overwrite) after compile LESS to CSS.
Sorry for my English.</blockquote>
Hi there,
You can check into less file and remove !important, than recompile it. But you’ll lose for next template upgrade.
That’s why we need use custom.css instead.Thank you,
Viet VuJuly 10, 2015 at 1:07 pm #576968jooservices<blockquote>But you’ll lose for next template upgrade.</blockquote>
No, not lose. I use Custom Theme!
In Which .less file reassign (overwrite) rule?pankajsharma
My site (url) – local.
It rule stretches the width of images (here only! – @media screen and (max-width: 992px)).July 10, 2015 at 1:07 pm #643276jooservices<blockquote>But you’ll lose for next template upgrade.</blockquote>
No, not lose. I use Custom Theme!
In Which .less file reassign (overwrite) rule?pankajsharma
My site (url) – local.
It rule stretches the width of images (here only! – @media screen and (max-width: 992px)).July 10, 2015 at 1:07 pm #741930jooservices<blockquote>But you’ll lose for next template upgrade.</blockquote>
No, not lose. I use Custom Theme!
In Which .less file reassign (overwrite) rule?pankajsharma
My site (url) – local.
It rule stretches the width of images (here only! – @media screen and (max-width: 992px)).jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 10, 2015 at 2:57 pm #576978Hi there
All less files are core files 🙂Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 10, 2015 at 2:57 pm #643286Hi there
All less files are core files 🙂Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 10, 2015 at 2:57 pm #741940Hi there
All less files are core files 🙂Thank you,
Viet VuJuly 10, 2015 at 5:35 pm #576993jooservices
All less files can be overwritten! In variables-custom.less
templatespurity_iiilocallessthemesmyThemevariables-custom.lessWhat is the name of the variable to be overwritten?
July 10, 2015 at 5:35 pm #643300jooservices
All less files can be overwritten! In variables-custom.less
templatespurity_iiilocallessthemesmyThemevariables-custom.lessWhat is the name of the variable to be overwritten?
July 10, 2015 at 5:35 pm #741954jooservices
All less files can be overwritten! In variables-custom.less
templatespurity_iiilocallessthemesmyThemevariables-custom.lessWhat is the name of the variable to be overwritten?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 16, 2015 at 7:26 am #577639Hi there
I’m sorry about this issue. But it’s so simple but caused me confuse
# Less files are core files. If you do any change into these files, you’ll lost it after do your template upgrade
# Yes. If you want to modify it. Yes. You can do and accept above risky.
# After change your less file. You’ll need recompile it to css
# Clear your cache and check itAbout less file. You’ll need to know
# If you modify directly into core less file. It would be easy
# If you use another less file. You’ll need to know if it’s load before or after your original less file.But in fact in all previous replied i would suggest you go with custom.css and apply custom css code ( with higher priority ).
It’s easier method and also safety . The only thing here is you’ll need to know about css priority ( as sampled )If you still can’t work on it. Please let me know exactly which css / less code you want to change and provide your site backend. I’ll help you work on it.
Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 16, 2015 at 7:26 am #643933Hi there
I’m sorry about this issue. But it’s so simple but caused me confuse
# Less files are core files. If you do any change into these files, you’ll lost it after do your template upgrade
# Yes. If you want to modify it. Yes. You can do and accept above risky.
# After change your less file. You’ll need recompile it to css
# Clear your cache and check itAbout less file. You’ll need to know
# If you modify directly into core less file. It would be easy
# If you use another less file. You’ll need to know if it’s load before or after your original less file.But in fact in all previous replied i would suggest you go with custom.css and apply custom css code ( with higher priority ).
It’s easier method and also safety . The only thing here is you’ll need to know about css priority ( as sampled )If you still can’t work on it. Please let me know exactly which css / less code you want to change and provide your site backend. I’ll help you work on it.
Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 16, 2015 at 7:26 am #742568Hi there
I’m sorry about this issue. But it’s so simple but caused me confuse
# Less files are core files. If you do any change into these files, you’ll lost it after do your template upgrade
# Yes. If you want to modify it. Yes. You can do and accept above risky.
# After change your less file. You’ll need recompile it to css
# Clear your cache and check itAbout less file. You’ll need to know
# If you modify directly into core less file. It would be easy
# If you use another less file. You’ll need to know if it’s load before or after your original less file.But in fact in all previous replied i would suggest you go with custom.css and apply custom css code ( with higher priority ).
It’s easier method and also safety . The only thing here is you’ll need to know about css priority ( as sampled )If you still can’t work on it. Please let me know exactly which css / less code you want to change and provide your site backend. I’ll help you work on it.
Thank you,
Viet Vu -
AuthorPosts
This topic contains 37 replies, has 4 voices, and was last updated by Adam M 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum