Global CSS not working after last Cornerstone update

I updated X, Cornerstone, etc. Cleared caches. Now the Global CSS I had added for classic text elements isn’t being recognized. Any suggestions? Here are two examples:
1) the wrong H2 size
(Global CSS says it should be:
.x-text h1, h2, .h1, .h2 {
font-size: 22px;
}

2) The wrong formatting of meta data
Global CSS says it should be:

/* author name italics for Renew stack */
.p-meta span:first-child {
font-style: italic;
}

/* don’t italicize the slash after the author name */
.p-meta span:first-child:after {
font-style: normal;
}

/* remove the forward slash after the author name /
.p-meta span:nth-child(2),
/
remove Leave Comment /
.p-meta span:nth-child(4),
/
remove the forward slash after the category name */
.p-meta span:nth-child(3):after {
display: none;
}

.h-landmark span, .entry-title.h-landmark span {
word-spacing: 8px;
letter-spacing: 1px;
}

Hello @pearlmultimedia,

Thanks for asking. :slight_smile:

First, I would suggest you to test for some plugin conflicts by deactivating all plugins and then re-activating one at a time and see if that resolves the problem.

Second, please check for CSS syntax error. A good tool to check for syntax related error is W3 validator.

https://jigsaw.w3.org/css-validator/

In case problem is still there, please share website login details URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thank you.

Hello There,

Thanks for writing in! You are experiencing this issue because of your custom css. You have inserted @media block which I think lacks a closing curly brace. It turn out that every css after the @media block will only work when the screen size is smaller than 1199 pixels.

I think the code should be:

@media (max-width: 1199px) {
    .x-sidebar {
        width: 100% !important;
    }
}

Please have it update, clear your cache after and then test your site again.
Kindly let us know how it goes.

Brilliant! That worked perfectly. Thank you so much for checking that out and fixing it!!

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.