You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS pseudo-classes require a space between the class-name and pseudo-class-name. When minifying CSS with ZenCache, that space is removed, breaking the code.
For example:
.test :first-child { color: green; } would be changed to .test:first-child{color:green;}
Work-Around to Avoid This Issue
To avoid this issue, choose "No, do not compress the code in any unified CSS files" from the panel at WordPress Dashboard → ZenCache → Plugin Options → HTML Compression.
The text was updated successfully, but these errors were encountered:
Bug Fix: Fixed an HTML Compressor bug related to CSS pseudo-classes where spaces between the class name and pseudo-class name were being removed when CSS was minified. Props @patdumond @jaswsinc. See Issue #544.
This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#544).
Reference: https://webshark.zendesk.com/agent/tickets/7790
CSS pseudo-classes require a space between the class-name and pseudo-class-name. When minifying CSS with ZenCache, that space is removed, breaking the code.
For example:
.test :first-child { color: green; }
would be changed to.test:first-child{color:green;}
Work-Around to Avoid This Issue
To avoid this issue, choose "No, do not compress the code in any unified CSS files" from the panel at WordPress Dashboard → ZenCache → Plugin Options → HTML Compression.
The text was updated successfully, but these errors were encountered: