Change of color of drop down menu for tablet/mobile views

  • Unknown's avatar

    Hello!

    I need help changing the color of the menu selector in the aperitive theme on my website http://www.trippostapp.com for tablet/mobile views. Currently I have the header background to white so it would look better while scrolling. But the menu items and menu button is white. I want to change it to #134452. Any help for poor little me? (:

    Best,

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    This will take care of the menu icon and the menu item text.

    @media screen and (max-width: 1024px) {
    body:not(.header-scrolled) #site-navigation:not(.toggled) .menu-toggle span, body:not(.header-scrolled) #site-navigation:not(.toggled) .menu-toggle span, body:not(.header-scrolled) #site-navigation:not(.toggled) .menu-toggle span::before, body:not(.header-scrolled) #site-navigation:not(.toggled) .menu-toggle span::after {
    	background-color: #134452 !important;
    }
    .main-navigation li a {
    	color: #134452;
    }
    .toggled .menu-toggle span:before, .toggled .menu-toggle span:after {
    	background-color: #134452;
    }
    }
  • Unknown's avatar

    Thank you so much! @thesacredpath, do you happen to know what I’d input if I want the menu button to be #134452 while scrolling down as well? It still shows as #fff on the mobile and tablet screens.

  • Unknown's avatar

    My goodness, Aperitive is sneaky. Add the following to the bottom of your custom CSS.

    .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after, .toggled .menu-toggle span::before, .toggled .menu-toggle span::after {
    	background-color: #134452;
    }
  • Unknown's avatar
  • Unknown's avatar
  • The topic ‘Change of color of drop down menu for tablet/mobile views’ is closed to new replies.