Possible Bug - Pro 6.8.1 / 2

I have quite a few older sites with lots of custom CSS.

In Pro 6.8.1 the latest version of the theme, when using WPML, is breaking the page css on the second language page.

It seems to be adding the commented CSS about adding your CSS onto the page and in the process breaking all my CSS.

In 6.8.2 it isn’t adding the comments any more but it is breaking the CSS by minimising it but adding stuff into the CSS.

See all the n’s in the CSS which shouldn’t be there.

h3.h-recent-posts {text-transform: inherit;}n.visible-mobile {display: none !important}n@media only screen and (max-width: 767px) {nt.visible-mobile {display: block !important }n}nn.x-main.full {n float: none;n display: block;n width: auto;n background-color: #3b414b;n}nnp {n color: #fff;n}nn.h2 a {n color: #ffffff;n}nn.h2 a:hover {n color: #ffffff;n}nn.x-acc-header-text {n margin-left: 0;n text-align: center;n}nn.x-acc-header-indicator {n display: none;n}nn[data-x-toggle-collapse] {n padding-bottom: 0;n border-top: 0px !important;n border: 1px solid #3b414b;n}n.x-icon-icomoon-fLift:before {n color: #fff;n}nn.x-icon-icomoon-cog:before {n color: #fff;n}nn.x-icon-icomoon-wrench:before {n color: #fff;n}n.x-icon-industry:before {n color: #fff;n}n.inverse-button {n border: 1px solid #ffffff;n background-color: transparent;n}nn.inverse-button:hover {n color: #3b414b;n background-color: #ffffff !important;n}

I would reach out to WPML. We don’t manage the page settings portion.

So just to clarify it is WPML that is breaking the on page CSS for Cornerstone.

When you translate a page they copy certain meta values. This CSS being one of them. If there are random n characters on the CSS, it looks like something is improper with the new line encoding.

1 Like