Avond Koen;
Given that I don’t have WooCommerce installed and that I can’t look at woozone’s source code given that it’s a premium plugin, I can’t but give you some general advice/ ask some broad questions;
* is your site entirely unstyled when activating CSS optimization? or partly?
* do the autoptimized CSS-file(s) contain CSS, or do they 404 or do they produce an internal server error?
* does WooZone include specific CSS? is it inline or in a seperate file? did you try excluding it from optimization?
Groeten uit Lokeren,
frank
Hi Frank from Lokeren! The world is small! 🙂
First thanks for the amazing plugin!
To answer your questions:
– yes the site is totally unstyled when activating CSS optimisation
– the auto optimised CSS file contains what looks like normal css, I don’t see any errors in it. What I do find strange is the file starts with.. @charset “UTF-8”; .. Shouldn’t this be handled in the headers of the file?
– WooZone includes both inline CSS in the header as well as css in a seperate file.
I cannot exclude it from optimisation as the file is called “style.css” and I cannot exclude files via id, right? If I exclude “style.css” some other css is excluded which gives me other problems (my google font doesn’t load for example)
The guys at woozone are watching this topic too, maybe they can give you a test plugin?
Thanks for your time!
you can exclude a file by part of it’s path, so e.g. plugins/woozone/style.css (or something like that) would work. excluding the inline CSS can be done by adding “.wwcAmzAff” (without the quotes.
frank
ok, if the woozone guys are reading along; there’s an error in your CSS which I’m pretty sure is the root cause;
.wwcAmzAff-coupon-container .wwcAmzAff-coupon-desc ul {
.wwcAmzAff-coupon-container .wwcAmzAff-coupon-desc ol li,
.wwcAmzAff-coupon-container .wwcAmzAff-coupon-desc ul li {
margin-left: 9px;
}
should be;
.wwcAmzAff-coupon-container .wwcAmzAff-coupon-desc ul
.wwcAmzAff-coupon-container .wwcAmzAff-coupon-desc ol li,
.wwcAmzAff-coupon-container .wwcAmzAff-coupon-desc ul li {
margin-left: 9px;
}
no? the faulty curly bracket was unclosed, which caused the CSS that got aggregated after it to be broken as well.
frank
Thanks a lot Frank, adding “.wwcAmzAff” indeed did the trick!
I ask woozone to fix their css and then remove it again.
Thanks again for the quality plugin!
Koen