Site logo

[Resolved] Lines in Secondary Menu

Home Forums Support [Resolved] Lines in Secondary Menu

Home Forums Support Lines in Secondary Menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2211069
    Rohith

    Hi there, I want to achieve the line in between the secondary menu items. Same like this website
    https://www.macrumors.com/

    #2211087
    Fernando
    Customer Support

    Hi Rohith,

    Can you kindly provide the link to your site?

    Hope to hear from you soon. 🙂

    #2211331
    Rohith

    Here’s the link of my site. Check private.

    #2211360
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .secondary-navigation .main-nav>ul li:not(:last-child) {
        border-right: 1px solid #000;
    }
    #2211410
    Rohith

    This worked but, I want a little space at the top and bottom of the line same like this website
    https://www.macrumors.com/

    #2211454
    David
    Staff
    Customer Support

    Add this CSS:

    #secondary-navigation .main-nav > ul {
        padding-top: 5px;
        padding-bottom: 5px;
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.