Indigo Template.css Restored To Original Without Any Reason - Question | JoomShaper

Indigo Template.css Restored To Original Without Any Reason

Marco Lungo

Marco Lungo

Template 4 years ago

Hi, During the development of my website www.consulenzalocali.it based on Indigo template, I've modified the template.css in order to have a different behaviour and appearance of the header menù. For (to me) an incomprensible reason, there is something that sometimes restored template.css to the original one. What could generate this problem? Thank you

0
4 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #28396

Hello Marco Lungo

Generally, with a template update, template.css gets restored. It is not recommended to edit this file. If you want to add your CSS, then add a custom.css file in templates/indigo/css folder. Then add all your CSS in that file. Please follow this documentation for more.

Best regards

0
Marco Lungo
Marco Lungo
Accepted Answer
4 years ago #28443

I know, but I didn't receive or get a template update. I've blocked automatic update for that reason. One of the reason that reset template.css file is doing anything on Template Option. I know this and avoid to make change. There are other reason why it happened. It is not related too to the Joomla Update. It is a mystery.

0
Pavel
Pavel
Accepted Answer
4 years ago #28448

Hi. If SCSS to CSS option is ON in Advanced Settings, occurs a compilation of code from SCSS files to template.css when save template settings. And it replaces all your code. It does not matter whether you turned off updates or made some changes or not. Therefore, it is better to use custom.css in any case. It is reliable.

0
Marco Lungo
Marco Lungo
Accepted Answer
4 years ago #28454

Wow. Right. Holy Carol Alt. Dua Lipa blessed you. Thanks a lot.

0