big css problem with theme

Posted in: Newspaper
Post count: 30

When I put in custom css in the backend, in the fields designated for that, they load in the front end, but there is problem with speed. The theme first load from it’s style.css then it loads from backend. I think theme has custom css wrongly implemented. Can you please check this?

example:

In custom css field i put h1 {color:red} and it loads color black first then red 3 seconds later.

Post count: 22421

Hello,

This is a side-effect of the TD speed booster plugin. What this plugin does is move css and js to the footer of the page so they will be loaded last and improve site speed.This is a known issue with speedbooster and is on our list of fixes for the near future.
As a workaround you can make your color changes directly in the style.css file.

Thank you!

Post count: 30

Hi Bogdan,

Ok, but when I disable that plugin it still loads slow. I think you have implemented custom css in wrong position. Is there another solution to this? I do not have to use speed booster plugin. But I don’t want to write to style.css because when I upgrade theme, my css settings will be gone.

Post count: 22421

Hi,

If the problem is still there, it can be caused by the page speed. CSS loads in cascades by default so if the load speed is realy slow you will see every step of the cascading styles. You can try to improve the pagespeed by following this topic: https://forum.tagdiv.com/how-to-make-the-site-faster/
You can also check to see if a plugin does not slow down your website, or you can check your server configuration.
The best way to eliminate this effect is still to use the style.css and create a back-up of it so it will not be lost in an update.

I hope this helps.
Thank you!

Post count: 30

Ok, thx.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.