I’ve set the sticky navigation which works fine but I can’t figure out the CSS to add the same padding so it doesn’t ‘jump’ and appear wider when it appears on scroll. I want it to look the same as the Header.
I added this CSS for some padding:
.main-navigation
{
padding-right: 40px;
padding-left: 40px;
margin-top: 5px;
margin-bottom: 5px;
}
But unfortunately when I scroll, I lose the shopping trolley icon from the right and lose the padding. Sorry, I know I need to get to grips better with CSS, have tried playing around with .main-navigation.navigation-stick but that doesn’t seem to make any difference. Any help you can offer is greatly appreciated!