Horrible delay with CSS

Posted in: Newspaper
Post count: 7

Hi, when a page loads there is a delay before my chosen colors appear…

This looks very unprofessional.

How can I fix this?

Post count: 22421

Hello,

Well this is the way css works when you re-write it. If your page speed is not optimized, or you use speedbooster to move the render blocking css to the footer as google page speed recommends, this is the effect. Google page speed recommends you move the css to the footer but it will not say that all your styles will apply muuuch slower as the css will wait until everything is loaded before it can apply your style.
The easiest solution for this is to view your page source in your preferred browser and copy all of the rendered css between the style tags (do not copy the style tags though.just the code inside it) like so: http://screencast.com/t/ut5nfIvXp and paste the code at the very end of style.css from the main theme folder on your server. This way all your styles will load first and css will not show the rewrites

Thank you!

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