Changes Made In Template CSS Files are Not Retained - Question | JoomShaper

Changes Made In Template CSS Files are Not Retained

G

giampaolo

Template 1 week ago

I'm creating the shaper_resort template. When I make changes, the template.css and preset1.css files remain visible as long as I'm working. When I reopen the site the next day to continue working, I can't find the changes I've made, and the files revert to their original values, as if they'd automatically regenerated to the default settings. This problem has never occurred to me, even though I've been using your templates for almost a year on several sites. How do I fix it?

0
8 Answers
G
giampaolo
Accepted Answer
1 week ago #220941

I'm correcting the question. I've checked the modified files now and the values ​​are the ones I entered when I modified them, but I can't see them in the front end of the site. Why?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #220946

Ciao,

you forgot to read Helix documenation - that's why. People still make the same mistake, over and over.

Whole info is here: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta#documentation-heading-3 (just read, also red box)


I can help more you only if you used Custom CSS field or custom.css file.

0
G
giampaolo
Accepted Answer
1 week ago #220949

OK. Anyway, it's strange because I've used your templates, including the one in question, and I've always made the changes directly in the files, not in the custom.css, and they've never given me these problems. Why am I having this problem this time? Really strange.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #220950

Editing template core file(s) is never a good idea.

Just use custom.css file for changes as we teach in manual.

0
G
giampaolo
Accepted Answer
1 week ago #220955

and what if I need to modify the preset1 css file?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #220957

What would happen if you update template in next weeks/months that will override that file anyway. think!!! you have answer already.

0
G
giampaolo
Accepted Answer
1 week ago #220976

ok I understood this and that is that I can modify the template.css file via custom.css file, but I would like to know what I should do to modify the preset1.css file I also wanted to ask you to better understand why when I open the template.css file I see the changes I made but I don't see them on the site's front end. Which file does the site read that saw that the changes I made in the template.css file are there? thank you

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #221009

check on front-end order of loading .css files, when custom.css is loaded, after or before presets and template.css

0