CSS to large and gets bigger with optimisation
-
after installing some pages show in the google amp test as being invalid. it says the max css size is 75000 bytes and we are way over that.
I read through your optimisation guide and enabled the minify css and this helped a little but is still oversized.
I then enabled the tree shaking feature and this made the file size bigger than it was previously.
It appears that the plugin includes all of the css files within Divi. many of which are probably not required.
Is there a known good way to make your plugin work with Divi. As our only option at the moment it seems is to modify the plugin to not include any css and write custom css ourselves that will style the page.
How would you recommend customising the css on a per page basis for the plugin to give a result under the 75k byte limit?
- The topic ‘CSS to large and gets bigger with optimisation’ is closed to new replies.