[Resolved] Make Menu Background different when sticky?

Home Forums Support [Resolved] Make Menu Background different when sticky?

Home Forums Support Make Menu Background different when sticky?

  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #346490
    Chris

    Is there a way to make the primary menu’s backgrounds transparent when it’s in the header, but 50% transparent when it because a sticky header?

    #346616
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .main-navigation.navigation-stick {
        background-color: rgba(145,145,145,0.54);
    }

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

    #346671
    Chris

    Oh that was simple haha
    I’m just getting the hang of using custom CSS with this. That worked though, thank you!

    Also I just bought Premium last night and I’m completely overwhelmed at how much freedom I have with all this. Great job on this theme/plugin!

    #346713
    Leo
    Staff
    Customer Support

    CSS is magical 🙂

    Glad you are enjoying it!

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