Staff replied Templates

lost changed in css administrator

Asked by Manouvelos Konstantinos 3 years ago Last activity 3 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;
}

2 replies

Pavel
3 years ago · edited

/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.

Log in to reply.