Rythm template not allocating custom styles - Forum | JoomShaper
Solved Templates

Rythm template not allocating custom styles

Asked by Peter Dowse 5 years ago Last activity 5 years ago

Hi Guys,

This is another template that doesn't seem to want to allocate custom styles that have been applied in the template manager.

We have changed several colours under the presets tab and they're not taking.

Have cleared cache, ensured all scss, caching, Gzip etc is turned off yet the site is still pulling in styles from templates/rythm/css/presets/default.css

How can this be fixed?
Please let me know if you require additional information.

Accepted answer

Marked as the solution
Pavel
5 years ago · edited

If we're wanting to have custom settings (not preset settings) kick in, the SCSS needs to be turned ON?

Hi. Yes, sure. Any settings in the template interact with variables that are in SCSS files. When saving, the SCSS code is compiled in CSS.
For user settings there are own SCSS files. Turning it off, you stop the interaction of settings with the corresponding files. And the code of your site has only that CSS which was activated before the last save.

That is, you have enabled one of the presets and you turned off the SCSS and click the Save button. Thus, only styles from this preset remained in the code. All further interaction with the settings from this moment does not work and does not contribute to any changes.

Disabling SCSS is only necessary if you do not want to use the template settings and want to write only your css code instead. Personally, I prefer to do so because when using the template settings it is not possible to use multiple copies of the template style with different settings.

5 more replies

Ofi Khan Staff

Hello Peter Dowse

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials.

Best regards

Pavel
5 years ago · edited

... ensured all scss ... turned off

Hi. If you use template settings scss should be turned ON. The template settings make changes in SCSS and on save it is compiled to CSS.

It should OFF only in case if you use custom css code instead using template settings or after end of development for low performance.

Peter Dowse Asked this

So, just to confirm. If we're wanting to have custom settings (not preset settings) kick in, the SCSS needs to be turned ON?

Peter Dowse Asked this

Ok - that makes sense - many thanks for your thorough answer.

Log in to reply.