CSS Combine ignores link media attribute
-
The only thing active on this site now is CSS Combine, and the page styling is different from the uncombined version. See specifically styles for the product blocks (the li.product elements) on the page, compared to the live page (cached, combined and minified with another plugin).
To see the source stylesheets, add “?nocache” to the live page URL.
I think the plugin is combining files included with different values for the
media
attribute. In this case, it seems to be woocommerce-smallscreen.css, included withmedia='only screen and (max-width: 768px)'
on the page.To combine properly, the styles in this file must be wrapped in a media query.
The page I need help with: [log in to see the link]
- The topic ‘CSS Combine ignores link media attribute’ is closed to new replies.