Load Custom CSS First?

Posted in: Newspaper
Post count: 24

We created a custom header for our site… but it is pretty slow to load in. Therefore, the header looks incorrect for several seconds while the site loads. Is it possible to have the Custom CSS section loaded first and still take precedence?

Site – http://dev.30a.com

Post count: 9544

Nope. Over-rides have to load after the initial CSS.
But you can try adding your custom CSS to end of the style.css file 🙂

Post count: 24

I’ll try that. Thanks Chris.

Post count: 24

Hmmm… I tried adding our Custom CSS that we have in the theme panel to the bottom of style.css, but the code wasn’t rendered. I also tried adding it to the style25-06.css file, but same thing. Any ideas?

Post count: 3343

Hi,
Firstly please deactivate/turn off the minify/compression for a better debugging. You have some js errors in console, see here: http://screencast.com/t/LevmjCWG6Lv

You need to inspect it to see where your css is loaded. Reply back when you turn them off.

Thanks for the message!

Post count: 24

Caching has been disabled.

Post count: 7909

Hi,

You still have these errors in the console – http://screencast.com/t/w4N9ecUi and affect ajax pagination, search… all elements which use ajax requests. Please deactivate all plugins, leave just Visual Composer active, clear cache and purge your files, then check if you still have this issue. Also disable any css/ js minifications. Please also check your page source and see if css/js minification is removed.

Thanks!

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