[Resolved] Primary navigation padding/margin

Home Forums Support [Resolved] Primary navigation padding/margin

Home Forums Support Primary navigation padding/margin

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #974167
    Slaven

    How to remove primary navigation padding/margin from left side of menu and from right side of search icon?

    https://prnt.sc/onk62b

    #974172
    David
    Staff
    Customer Support

    Hi there,

    this CSS:

    .main-navigation:not(.slideout-navigation) .main-nav ul li:first-child a {
        padding-left: 0;
    }
    
    .main-navigation:not(.slideout-navigation) .main-nav ul li.search-item a {
        padding-right: 0;
    }
    #974176
    Slaven

    Thank you.

    One more thing. How to add border like this https://prnt.sc/onkcqe

    #974177
    David
    Staff
    Customer Support

    Try this CSS:

    #site-navigation .inside-navigation {
        border-top: 1px solid #222;
    }
    #974187
    Slaven

    Now I have border also on secondary navigation https://prnt.sc/onkghr

    Can I add border only on primary navigation?

    #974197
    David
    Staff
    Customer Support

    Edited the CSS above to target just the primary nav.

    #974205
    Slaven

    Ok, thank you πŸ™‚

    Please, about first code, I have problem on Off canvas menu https://prnt.sc/onkqtd

    Please, help me about this and we are done with this post πŸ™‚

    Thank you for you grate support

    #974208
    David
    Staff
    Customer Support

    I have updated the CSS above

    #974234
    Slaven

    Ok, thank you! πŸ™‚

    #974242
    David
    Staff
    Customer Support

    You’re welcome

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