Home › Forums › Support › Sticky Menu Not Aligned Properly › Reply To: Sticky Menu Not Aligned Properly
October 13, 2016 at 10:21 pm
#235147
Tom
Lead Developer
Lead Developer
Ah, the sticky navigation has to calculate some values when it’s set to contained.
It calculates these based on the value you have set for the grid container.
In your case, you’ve set a custom container width using CSS, so the calculations are wrong.
Try adding this CSS:
.nav-below-header .navigation-clone.main-navigation,
.nav-above-header .navigation-clone.main-navigation,
.nav-below-header .main-navigation.is_stuck,
.nav-above-header .main-navigation.is_stuck {
left: 3.5%;
max-width: 93%;
margin-left: 0;
}