Newspaper Accent Color

Posted in: Newspaper
Post count: 88

Hey there! I bought Newspaper theme yesterday! link is https://www.techlegends.in As the accent color suggests i have set it to green. But whenever i load my webpage anytime first the blue accent shows up for a fraction of secs and then green color come. Need quick help…

Post count: 88

And when i deactivate the speed booster plugin the problem gets sorted out but my speed decrease by 4 points on google page insights…

Post count: 9544

This is a common problem with CSS and custom over-rides from control panels.

It’s also called the flash of unstyled text with fonts, where the same issue happens.

Basically, what happens is that the original CSS loads for a moment, then the “over ride” color you’ve specified is loaded, and in some cases for a split second, depending on speed of server and other factors, you may or may not see that.

This is not unique to any specific theme, but simply how the web works when you’re not actually editing the MAIN style sheet which is loaded first.

This is basic CSS/HTML knowledge.

But basically, the way to fully remove that issue, is to edit the style.css file and change the class for that element to the color you wish. Fairly simple. Just do a search in text editor or programmer editor and locate the style class and change the color code. Then you don’t need to put into the CSS box in the theme panel. Downside is you have to do this each theme update, but ideally this would also be the point in time where you minify the CSS anyway. And if you’re optimizing your site for Google fonts, you’d actually put the calls to the fonts at bottom of your style.css and remove them from the theme functions files. But that is a bit advanced.

Hope that helps 🙂

Post count: 88

Thank You very much. And i am seeing double menu options when i browse via a smartphone. But the desktop menu is fine… Can you help me with that?

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