[EDIT LESS instead of CSS] How to disable import from LESS ?

More
7 years 7 months ago - 7 years 7 months ago #63418 by lipatovroman
Hi!
Each time I save template setting FC import css from LESS files and overrides my changes.
How to disable it?
Thanks.
Last edit: 7 years 7 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago - 7 years 7 months ago #63421 by ggppdk
Hello

it is simple,

instead of CSS file, edit the less file with the same name,

and the LESS file contents are copied into the CSS file on save (and LESS directives are executed, e.g. LESS variables are replaced with their values)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 7 years 7 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #63427 by lipatovroman
So, each time I edit LESS file I need resave template?

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago - 7 years 7 months ago #63429 by ggppdk
Hello

no, you do not need to
re-save the item or category layout form

For less files used by flexicontent the modification time of
category.less / category.css
item.less / item.css

are compared and less compilation will be triggered, cost to check this is minimal


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 7 years 7 months ago by ggppdk.
The following user(s) said Thank You: lipatovroman

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.334 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline