Site logo

[Support request] how to style reduced version of mobile sticky menu

Home Forums Support [Support request] how to style reduced version of mobile sticky menu

Home Forums Support how to style reduced version of mobile sticky menu

  • This topic has 2 replies, 3 voices, and was last updated 9 years ago by Tom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #293719
    Simone

    Hi, I’m working on this website http://www.divergence.ie and I really cannot figure out what selector to use to modify the navigation bar, as it appears on mobile when you scroll down. I’m simply trying to give it a white background and remove the box shading but I cannot make it happen. I think I probably am just using the wrong selector and I don’t know how to figure out the exact one. Could you guys help me with that?
    All the best,
    Simon

    #293809
    Leo
    Staff
    Customer Support

    Hi Simon,

    Try this CSS:

    @media (max-width: 768px) {
        .generate-combined-header {
            background-color: #ffffff;
        }
    }

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

    I don’t see the box shading being applied currently?

    #293896
    Tom
    Lead Developer
    Lead Developer

    This might be better as it will apply even if the header isn’t merged:

    @media (max-width: 768px) {
        .main-navigation.navigation-stick {
            background:#FFF;
        }
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.