Lost Changed In Css Administrator - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Lost Changed In Css Administrator

Manouvelos Konstantinos

Manouvelos Konstantinos

Template 2 years ago

Template shaper_hope

I changed /css/template.css (as color, font-size, background) from administrator but losted, I've done it 3 times. What happened; While the changes are saved after I log in css they are not. I view them once on the website and then the changes are lost I have cleaned the joomla and browser cache.

} .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { display: inline-block; padding: 0 12px; line-height: 90px; font-size: 15px; font-weight: 600; text-transform: none; color: #ffffff; letter-spacing: 0.5px; margin: 0; }

0
2 Answers
Pavel
Pavel
Accepted Answer
2 years ago #130346

/css/template.css

Hi. Never edit core template files (in any template). This file is rewritten as soon as you save the settings in Helix. It is compiled from SCSS.

Create custom.css following Helix documentation and write your code there or copy code from template.css to custom.css whith your overrides of values.

Usually, any template has the ability to use user CSS files. Always read the documentation of the template that you use or the documentation of the framework on which your template is built.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #130357

Hi,

@Pavel thanks.

Sometimes, I lost hope why users cannot read Helix documenation first - where all is descibed >> https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta

0