CSS optimization breaks my menu in Firefox
-
Hello,
I fell on your plugin because my actual site has a terrible site speed (7/100 in Google PageSpeed Insights…). So I tried your plugin and on Chrome everything seems to work fine. But on Firefox my menu styling from the theme has disappeard… And no error message in the console (I already excluded
jquery.jsin the optimization).
But this only happens when I optimize the CSS code.I have already added
define("AUTOPTIMIZE_LEGACY_MINIFIERS","true");to the wp-config.php file (before I got an internal server error).When CSS optimization is activated I get at least 29/100 on Google PageSpeed Insights. So this is already a big step I don’t want to miss.
Any solution thoughts?
Thx in advance!
-
well, if there’s a specific CSS for your menu (maybe there is, maybe there isn’t), try excluding that from CSS optimization?
else, if you have a URL to share, I’ll be happy to have a quick look around.
frank
Here is the link.
But CSS Optimization is disabled for the moment, because the site is already online for the moment…hard to say without seeing the problem, but try excluding
app.cssfrom CSS optimization?frank
Ok this worked BUT it breaks some other css styles…
I just enabled css optimizing now so that you can see the menu error in firefox (without excludingapp.css.Thx in advance
had a quick look, but can only confirm what you saw i’m afraid; works in Chrome, does not work in beloved Firefox (and neither in MS IE 11 I’m afraid).
if excluding app.css does not work (as other problems appear), then I’m afraid I don’t have solution handy (except for a CSS-guy or -girl diving in and trying to identify which rule(s) in the aggregated CSS are problematic in FF/ MSIE).
frank
The topic ‘CSS optimization breaks my menu in Firefox’ is closed to new replies.