Home>Support>Change Custom CSS Enqueue Order (To Override WP Customize)

Change Custom CSS Enqueue Order (To Override WP Customize)

Is there a way, a function or something similar to change the way that the theme’s Custom CSS to override WordPress’s own Customize tools. I want to change the menu list items to have transparent backgrounds but WP Customize’s lower position in the page seems to be overriding my background-color: none I define in my Custom CSS.

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

  1. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hi Hentai

    Have you tried using !important override the Customizer styles?

    /* Vantage Menu Opacity */
    
    .main-navigation {
    background: rgba(255,0,0,0.3) !important;
    }
    
  2. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    OR

    /* Vantage - Adjust color and opacity of drop down menu items and drop down menu hover */
    
    .main-navigation ul ul { background: rgba(200, 54, 54, 0.5) !important;  } 
    .main-navigation ul ul li:hover > a { background: rgba(200, 54, 54, 0.5) !important;  }
    
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