Custom.css is Not Working - Question | JoomShaper

Custom.css is Not Working

Carlos Arango

Carlos Arango

Helix Framework 3 years ago

Hi

We have many projects with different joomshaper templates but lately we have seen that the custom.css does not work.

The custom.css does not override the template.css or present.css. We are forced to use the !important rule at all times. This has been a problem.

We know the Joomshaper documentation about the custom.css and we think something has changed.

https://prnt.sc/26ra59p

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #56384

There is also safer way:

  1. Rename file from custom.css to extra.css
  2. In Template Options - Custom Code - Before end of < / head > add this line:

<link href="/templates/shefund/css/extra.css" rel="stylesheet" />

foto_7767_2022.png

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #56344

Hi, this problem is only for Helix3 based template(s) that were updated to 3.0.2

So you have to edit index.php file of template and change order of loading custom.css file, must be below template.css.

0
Carlos Arango
Carlos Arango
Accepted Answer
3 years ago #56355

As I was saying, we have this problem in many projects that we have with joomshaper templates, mostly Helix Ultimate. Just the image https://prnt.sc/26ra59p is from the "SheFund" template.

How can you change the load order of the custom.css file in index.php?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #56356

check front-end source code what order of .css is ....

0
Carlos Arango
Carlos Arango
Accepted Answer
3 years ago #56373

In effect custom.css is above template.css and preset.css

https://prnt.sc/26rh5mo

How can I change it?

I´m going to /templates/shefund and edit index.php

it's a chinese language. What should I do exactly?

0
Carlos Arango
Carlos Arango
Accepted Answer
3 years ago #56387

Thank you very much!

0