[Support request] Change background color of mobile menu

Home Forums Support [Support request] Change background color of mobile menu

Home Forums Support Change background color of mobile menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1384438
    Ashin

    Hello,

    I’m using Mobile Menu and I understand that the background color of Primary Navigation would be the background color of Mobile Menu by default. But I’d like to change the Mobile Menu background color to something else. There is no option for that in the customizer, as far as I know. Is there any CSS for that?

    Thanks.

    #1384661
    David
    Staff
    Customer Support

    Hi there,

    if its just the mobile-header and menu drop down background:

    .main-navigation.mobile-header-navigation {
        background-color: #f00;
    }
    #1956709
    Jakub

    Hello,

    I have the same issue, however this change does not seem to do anything – I tried adding is via simple CSS plugin or additional CSS, but nothing happens.

    Thanks for help,

    Jakub

    #1956724
    Elvin
    Staff
    Customer Support

    Hi Jakub,

    Does your site have mobile-header enabled? (Appearance > customize > Layout > Header w/ Mobile Header option checked)

    If so, try this one:

    nav#mobile-header .main-nav ul.sf-menu {
        background-color: green;
    }
    #1956776
    Jakub

    Thank you, that worked!
    Jakub

    #1956779
    Elvin
    Staff
    Customer Support

    Nice one. No problem. 😀

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.