X theme not showing CSS or X customizer

Hi, My site has stopped showing the X options in the dashboard, I cannot access the X customizer, and the CSS in that customizer is not being applied. I reinstalled the theme and (as suggested on https://theme.co/apex/forum/t/customizer-issues-upgrade-problems/26417/4) tested for plugin conflicts, tried removing the CSS, and cleared the site cache and the CDN, but could not get to the X cache (since it’s not showing in the dashboard). I have not tried resetting the htacess or increasing the memory, as I do not think these are the issue. Can you please take a look? Thank you.

site: savethepostoffice.com
WP: 5.2.4
X: 7.0.4
Cornerstone: 4.0.4

Hello Steve,

Thanks for writing in!

As you have tried the solutions mentioned in the thread, I resorts you to please share the login details in secure note for us to take a closer look at the setup.

Thanks.

Hello Steve,

Thanks for providing the information.

The X > Theme Options did not display because Cornerstone plugin were not active. I have activated it already and now X Submenus are now displaying in your dashboard.

I can see that you have added this custom css in Appearance > Customize > Additional CSS:



body.single .post-38210 table td  {
    line-height: 8px;
	
}

.entry-title:before {display:none}

body.single .post-38210 table, th, td  {
    border: 1px solid black;
}

.wp-caption > .wp-caption-text, .wp-caption > .wp-caption-text:last-child, .gallery-item > .wp-caption-text, .gallery-item > .wp-caption-text:last-child {
    font-size: 11px;
    line-height: 1.2;
}

.expanding-archives-title a {
	font-size: 14px;
}

.x-recent-posts .no-post-thumbnail .x-recent-posts-img:after {
  opacity: 0;
}

body.single .post-39984 table, th, td  {
    border: 0px solid white;
}

.visualizer-front div > div {
    margin: auto;
}

Please understand that there is a hierarchy of styles being applied to the site. This is the order:

  • Theme’s stack style.css
  • Child theme’s style.css
  • WP custom css or Appearance > Customize > Additional CSS
  • X Theme Options Settings
  • X Theme Options Custom CSS
  • Cornerstone page Custom CSS

Please add your custom css in X > Theme Options > Custom CSS instead.

By the way, is your ModSecurity turned ON? If it did, I would recommend that you whitelist this url in the secure note.

Hope this helps.

Thanks for all your help. I’ve combined all the CSS in the X customizer, as you suggested.

I use Wordfence, not ModSecurity. Can you let me know why that URL should be whitelisted?

Hey Steve,

This is to avoid seeing 403, 500, or 503 errors when trying to view the Theme Options or working in Cornerstone, we have found that this is typically due to ModSecurity rule being triggered due to a combination of keywords used in the core WordPress files so whitelisting the URL should fix this particular scenario.

Hope this helps!

Thanks again for all your help on this one.

You’re welcome!
We’re glad we were able to help you out.

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