Custom css code

Posted in: Newspaper
Post count: 29

Hi,

all css place in custom code in admin loads after theme css. Is there any way to load first? Because when web is loading during 1 or 2 seconds shows theme css instead custom code, and is strange.

Thanks.

  • This topic was modified 7 years by giwalola.
Post count: 22421

Hello,

Every custom css will load after the original theme css. The only way to load your custom css faster (you cannot have it load first, sorry) is to add it in the style.css file.

Thank you!

Post count: 29

And how to avoid this problem?
First web loads with wrong color and logo, and after it loads ok. This doesn’t happens in your theme demos. Any solution?

https://i.imgur.com/IdkGXuL.jpg
https://i.imgur.com/nxvdb3Z.jpg

Thanks

Post count: 29

I’ve just discovered that this is more appreciable when I activate Speed Booster plugin.

  • This reply was modified 7 years by giwalola.
Post count: 22421

Hello,

Speed optimization plugins such as speedbooster will move the css load to the footer so any changes made to the initial css will be seen on the front-end happening.

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.