Home › Forums › Support › Primary navigation padding/margin This topic has 9 replies, 2 voices, and was last updated 4 years, 8 months ago by David. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts August 2, 2019 at 9:44 am #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 August 2, 2019 at 9:54 am #974172 DavidStaff 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; } August 2, 2019 at 9:58 am #974176 Slaven Thank you. One more thing. How to add border like this https://prnt.sc/onkcqe August 2, 2019 at 10:02 am #974177 DavidStaff Customer Support Try this CSS: #site-navigation .inside-navigation { border-top: 1px solid #222; } August 2, 2019 at 10:15 am #974187 Slaven Now I have border also on secondary navigation https://prnt.sc/onkghr Can I add border only on primary navigation? August 2, 2019 at 10:25 am #974197 DavidStaff Customer Support Edited the CSS above to target just the primary nav. August 2, 2019 at 10:33 am #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 August 2, 2019 at 10:35 am #974208 DavidStaff Customer Support I have updated the CSS above August 2, 2019 at 11:07 am #974234 Slaven Ok, thank you! π August 2, 2019 at 11:18 am #974242 DavidStaff Customer Support You’re welcome Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In