[Resolved] Border at the bottom of the menu bar

Home Forums Support [Resolved] Border at the bottom of the menu bar

Home Forums Support Border at the bottom of the menu bar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1629482
    Matthieu

    Hello, do you think it is possible to add a border at the bottom of the menu bar of 1px and color? I use the header element with the menu bar going down to the scroll.

    Thanks

    #1629628
    Leo
    Staff
    Customer Support

    Hi there,

    Something like this?

    .main-navigation {
        border-bottom: 1px solid #fff;
    }

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

    Let me know if this helps πŸ™‚

    #1629631
    Matthieu

    Thank you for your reply ! That’s it, but not quite.
    πŸ˜…
    Can the bar be adjusted to fit the width of the container? For example 1200 px? So that the edges are aligned with the logo on the left and the menu on the right.

    Thanks !

    #1629657
    Leo
    Staff
    Customer Support

    Try this instead:

    #site-navigation .inside-navigation {
        border-bottom: 1px solid #fff;
    }
    #1629675
    Matthieu

    It’s great thanks ! Is it possible to remove the border from the scroll ?

    #1629679
    Leo
    Staff
    Customer Support
    #1629682
    Matthieu

    Perfect thanks !

    #1629684
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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