Parent Theme’s style.css file is render blocking for some reason
-
I noticed when I do a Google PageSpeed test that I get the following recommendation every time…
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 1 blocking CSS resources. This causes a delay in rendering your page.
Approximately 62% of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Optimize CSS Delivery of the following:
? https://1yrg245s3u83m41hp1mu0wgg-wpengine.netdna-ssl.com/wp-content/themes/beatrix/style.cssDo you have any idea how I can fix this?
I find it really strange because it is referencing the style.css file from my parent theme even though I’m using a child-theme with it. Even stranger is the fact that if you look at the contents of that file, it doesn’t have any CSS in it! It only has the following inside of it…
/*
Theme Name: Beatrix
Theme URI: https://demo.teslathemes.com/beatrix/
Description: Awesome theme from TeslaThemes club
Version: 1.0.7
Author: TeslaThemes
Author URI: https://www.teslathemes.com/
License: GNU General Public License version 3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: theme-options,post-formats,custom-colors
Text Domain: beatrix
*/When I look up how to fix the issue, it says to inline al the critical CSS from the file being referenced but in my case there is no CSS to inline.
Any help would be greatly appreciated.
Thanks,
Chris
- The topic ‘Parent Theme’s style.css file is render blocking for some reason’ is closed to new replies.