[Resolved] adjust transparency for sticky navigation

Home Forums Support [Resolved] adjust transparency for sticky navigation

Home Forums Support adjust transparency for sticky navigation

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #435347
    allan

    hello,

    how to adjust transparency for sticky navigation?

    So that when I scroll, the sticky menu has a different background (ie, different transparency)

    THanks

    #435772
    Leo
    Staff
    Customer Support

    Hi there,

    CSS is required for that currently:

    .main-navigation.navigation-stick {
        background-color: #000000;
    }

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

    #436497
    allan

    THanks….

    I have a follow-up question. How do I disable Mobile navigation for all pages?

    thanks,

    #436511
    allan

    Hi Leo and Team,

    I found out it was actually the mobile header. lol. I deactivated it via customize->header.

    THanks. resolving this issue.

    #436559
    Leo
    Staff
    Customer Support

    No problem!

    #584876
    Derek

    Hello,

    .main-navigation.navigation-stick {
    background-color: #000000;
    }

    didn’t work for me to make my menu transparent, it just made it black. Is there a way to set opacity?

    #584885
    Leo
    Staff
    Customer Support

    #000000 is black so you just have to change the color to something like this: rgba(34,34,34,0.64)

    #584894
    Derek

    Oh! The last # is opacity…..

    #584895
    Derek

    How can I do this on all pages? Stick and non-sticky?

    nvm: .main-navigation

    #585164
    Leo
    Staff
    Customer Support

    That case you can just use the customizer instead of CSS: https://docs.generatepress.com/article/colors-overview/

    #585384
    Derek

    Got it ty.

    #585419
    Leo
    Staff
    Customer Support

    No problem 🙂

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