Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Remove background image in drop-down menu

  • Hello

    Ive designed a site that uses a background image in the menu bar to create a kind of fake bezel

    http://willamato.com/lisa/

    Is there a way to remove the background image in the drop-down menu, and instead have, say, a light greybackground color?

    Thank you, and thanks for a great theme!

    W

  • Hi there,

    You don’t need to use a background image in this case, you can remove the CSS which adds the background image.

    Then add this CSS for the gradient effect for the menu toggle:

    button.menu-toggle {
        background-image: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(186,186,186,0.5830926120448179) 100%);
    }

    And this CSS for the menu items, feel free to change the color.

    #primary-menu ul#menu-main {
        background-color: rgba(0,0,0,0.3);
    }

    This tool should be very useful to create CSS for gradient:https://cssgradient.io/

    Let me know if this helps!

  • Thats fantastic, and something I’ll use again. Thank you, Ying!

  • You are welcome   🙂

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