Home › Forums › Support › Sticky navigation padding This topic has 3 replies, 2 voices, and was last updated 4 years, 6 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 2, 2018 at 5:01 pm #746343 Michael Hi, I have a full width navigation on this site that has left and right header padding of 40px. When sticky on desktop is used that padding is removed when the sticky is activated scrolling down the page. Which class or id do i target to add the 40px padding back in for the sticky nav? thanks, December 2, 2018 at 5:41 pm #746360 LeoStaff Customer Support Hi there, This method might works best: https://docs.generatepress.com/article/navigation-as-a-header/ Let me know if this helps 🙂 December 2, 2018 at 6:06 pm #746377 Michael Hi Leo, I looked at that method but for a few reasons didn’t go with it. After a bit more testing I found this code does what I want. @media (min-width: 769px) { .main-navigation.sticky-navigation-transition .navigation-logo img { padding-left: 40px; } .nav-float-right .is_stuck.main-navigation ul { padding-right: 40px; } } Is there anything wrong with using this way? December 2, 2018 at 7:58 pm #746402 LeoStaff Customer Support Hmm looks good I think. I think this should also work: @media (min-width: 769px) { .main-navigation.navigation-stick .inside-navigation { padding: 0 40px; } } Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In