Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] How can I add background image to menu below header?

Home Forums Support [Resolved] How can I add background image to menu below header?

Home Forums Support How can I add background image to menu below header?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1764478
    crosby87

    Hi there,

    I would like to add a background picture to my menu below the header.

    See screenshot: https://imgur.com/kRtYDr2

    So basically i would like to add a picture to the bar where the menu is. I can change the color in customize however i cannot add a picture there.
    Could you please provide a code?

    Many thanks!

    #1764526
    Elvin
    Staff
    Customer Support

    Hi there,

    You can add it using custom CSS:

    Example:

    nav#site-navigation {
        background-image: url(https://dolgospenz.hu/wp-content/uploads/2020/11/Money-growing-header.png);
        background-size: cover;
        background-position: top;
    }

    You can play around with the values to see what works to your preference.

    A wise man once said:
    "Have you cleared your cache?"

    #1771979
    crosby87

    Many thanks – worked perfectly!

    #1772045
    Elvin
    Staff
    Customer Support

    No problem. 🙂

    A wise man once said:
    "Have you cleared your cache?"

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