Site logo

Archived topic

Change background color of hamburger menu

3 replies · Started by Antonio on January 15, 2021

Viewing posts 1–4 of 4

Hello,

I would like to change hamburger menu icon background color to white.
I tried several times customizing in Colors -> Main Nav -> mobile view, changing to #ffffff color, but changes didn't work.
What am I doing wrong?

Thank you

Hi there,

Try this CSS:

.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: transparent;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Thank you very much! It worked!

No problem :)

This archived topic is closed to new replies.