Flash of Unstyled Content re: audio player

Posted in: Newspaper
Post count: 28

Hi. I’m using a bit of css to change the colors of the text for my audio player and there is a flash of the old settings when the pages load. Any ideas on how to get rid of this FOUC?

http://www.humbot.yournec.org/2018/02/22/redwood-coast-energy-authority-proposes-offshore-wind-project/

I have the code entered into the Custom Code section of the theme panel:

/* centers audio player text and changes link color to black */
.powerpress_links {
text-align: center;
}
.powerpress_links a {
color: #444444;
}

Thanks!

Post count: 23312

Hello HumBot,

This audio bar does not come from our theme, sorry! I guess that you are using such a plugin with this functionality. It seems to be a mini flash at the audio player when the page is loading but it seems to work as expected. This could come from the plugin and we cannot provide custom work services.

Thanks for the message!

Post count: 28

I am using the built in audio player for WordPress. Do you have general advice for dealing with FOUC?

Post count: 23312

Hello HumBot,

Sorry but this task is not theme related and we cannot help you, unfortunately! Try to use such another plugin with this functionality and check the results.

Thanks.

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