5.7.10 CSS Minify made some invalid code, problem might have existed before
-
This problem may have existed previously, but I didn’t notice it until I put up a new page layout yesterday that broke when v5.7.9 CSS Minify is enabled. When CSS Minify is disabled, the layout is perfect.
Here is the CSS before minification:
.wvrx-not-safari #container {
padding-left: calc( 0px + 0px );
padding-right: calc( 0px + 0px );
}
.wvrx-not-safari #container {
max-width: none;
width: calc( 100vw – 8px);
margin-left: calc( -1 * ( 0px ) – 0px );
margin-right: calc( -1 * ( 0px ) – 0px );
}Here is the CSS after minification:
.wvrx-not-safari #container {
padding-left: calc( 0 + 0 );
padding-right: calc( 0 + 0 );
}
.wvrx-not-safari #container {
max-width: none;
width: calc( 100vw – 8px);
margin-left: calc( -1 * ( 0 ) – 0 );
margin-right: calc( -1 * ( 0 ) – 0 );
}I made a simple site to demonstrate the error: https://ned-talks.com/
The container should span the width of the browser window, not be shifted. Note that this error is only noticeable when the viewport width is greater than 1100px.
If needed, I can make an admin account for a SiteGround tech to have access.
The page I need help with: [log in to see the link]
- The topic ‘5.7.10 CSS Minify made some invalid code, problem might have existed before’ is closed to new replies.