Home>Support>Code works but shows error

Code works but shows error

Thank you for this plugin. I love it!

I am using Kadence Theme with CSS at https://8.bestwebsites.ca/ to make 2 columns for my sub-sub-menu under Restaurant -> Menu.

.header-navigation.header-navigation-dropdown-animation-fade-down ul ul.sub-menu ul.sub-menu {
display: grid;
grid-template-columns: repeat(2, 1fr);
right: auto!important;
left: 100%!important;
}

The code works perfectly but gives an error at “”grid-template-columns: repeat(2, 1fr);”” of “Expected RBRACE at line 34, column 38”

Kadence says the issue is with SiteOrigin CSS, not Kadence. Can you tell me please how to resolve the error.

Many thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 months, 21 days ago Andrew Misplon
    Hi, I Work Here

    Hi Mary

    Thanks for getting in touch.

    SiteOrigin CSS uses the WordPress bundled version of CodeMirror. The CSS you’re using is valid and the warning can be ignored. Unfortunately, CodeMirror has not yet been updated to correctly process the property and value you’re using. Here is an item logged on the CodeMirror repo of similar nature.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More