Stylesheet loading late on Speed Booster Plugin?

Posted in: Newsmag
Post count: 9

When we activate your TagDiv Speed Booster plugin, there’s a momentary flash of black color for the top menu and for all buttons, before they adjust to blue as specified by our options choices. It seems like the stylesheet for user selected color preferences is getting loaded too late, if we had to guess.

Is there a recommended fix for this? Would very much like to use the plugin, but currently we have it disabled to avoid that problem.

Thanks in advance!

Post count: 9544

Yep. The only fix is to not use theme panel “over rides” for default colors, and make those changes directly to the style.css file.

Otherwise what is basically happening is
a) main CSS loads
b) CSS over-rides load

as you might expect in many situations due to the complexity of certain pages; especially with complex home page, and complex mega-menu — there is a couple msecs delay in there.

Also avoid using child theme on top of that since all child themes are basically redirects from one theme to another — which Google doesn’t recommend — but WordPress has made this their standard practice. Best to just edit the main theme, since with major theme updates, the child theme needs changes too and defeats purposes of using child theme to avoid not having to re-apply changes.

Much like WooCommerce — changes are done to functions.php — and one has to reapply them each time there is update.

Anyway — that’s been my experience. 🙂

Post count: 7909

Hi,

Unfortunately is usually happens because of the speed booster plugin which move the css and js at the bottom of the page structure so that the page will load faster, this is why the theme color appears first then changes, because of the cascading property of css. A solution is to make your changes in style.css like already Christopher suggested.

Thanks!

Post count: 8

Hi!
I am very stupid.
But I have the problem too.
Please show the line (function) in the style.css to change the background color of the main menu header.
Thank you!

P.S. I do not speak English very well, sorry

Post count: 7909

Hi,

Please search after this class: http://screencast.com/t/TEiCt3Qg

Thanks!

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