[Resolved] Change background color of hamburger & dropdown menu on menu

Home Forums Support [Resolved] Change background color of hamburger & dropdown menu on menu

Home Forums Support Change background color of hamburger & dropdown menu on menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2367523
    Jon

    Hi – the hamburger & the related dropdown menu on my site has a light grey background color which I would like to change to white to match the rest of the site. I can’t find the settings for them under Colors in Customizer and neither can I work out the right CSS selectors.

    Could you explain how I change it please?

    #2367674
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    
    .has-inline-mobile-toggle #site-navigation.toggled {
        background-color: #fff;
    }
    #2367768
    Jon

    Hi David – thanks. That works for the mobile dropdown menu (see live site), but not for the hamburger background. I think I’ve worked it out with this:

    /* change background color on hamburger and menu dropdown on mobile */
    .has-inline-mobile-toggle #site-navigation.toggled {
        background-color: #fff;
    }
    .mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled  {
    	 background-color: #fff;
    }

    Does that look right to you?

    #2368213
    Fernando
    Customer Support

    Hi John,

    It’s working. Here is what it looks like from my end: https://share.getcloudapp.com/9ZugzjX1

    #2368580
    Jon

    Great, thank you.

    #2369308
    Fernando
    Customer Support

    You’re welcome Jon!

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