Site logo

Archived topic

Primary navigation padding/margin

9 replies · Started by Slaven on August 2, 2019

Viewing posts 1–10 of 10

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

https://prnt.sc/onk62b

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;
}

Try this CSS:

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

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

Can I add border only on primary navigation?

Edited the CSS above to target just the primary nav.

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

I have updated the CSS above

Ok, thank you! :-)

You're welcome

This archived topic is closed to new replies.