Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #895645
    bradpe
    Participant

    Hi there,

    The background color on the mobile menu, sub menu does not seem to match the background, it matches the button color. Works fine in the web browser. Any suggestions?

    http://macromicro.com/

    I have the latest version of WP / X theme / Cornerstone.

    Much appreciated

    #896525
    Christopher
    Moderator

    Hi there,

    Please find this code :

    .x-navbar .sub-menu {
        background-color: #eeeeee !important;
        padding: 0px !important;
    }

    And update it to:

    @media (min-width:979px){
    .x-navbar .sub-menu {
        background-color: #eeeeee !important;
        padding: 0px !important;
    }
    }
    
    .x-navbar .mobile .x-nav ul li a span {
        color: #fff;
    }
    .x-navbar .mobile .x-nav ul li a {
        border-color: #fff;
    }
    

    Hope it helps.

    #896529
    Thai
    Moderator

    Hi There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    body .x-navbar .mobile .x-nav ul.sub-menu {
        background-color: transparent !important;
    }
    body .x-navbar .mobile .sub-menu a {
        background-color: #333333 !important;
        color: #ffffff !important;
    }

    Hope it helps 🙂

    #899093
    bradpe
    Participant

    Excellent – I just tried Thai’s suggestions and it works as intended. Much appreciated!

    #899685
    Prasant Rai
    Moderator

    Happy to hear that. Feel free to ask us again. Have a great day! 🙂

  • <script> jQuery(function($){ $("#no-reply-895645 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>