Hi,
To clarify: You’re trying to make the the sticky nav fully identical with its non sticky counterpart?
If so, let’s break things down:
The logo for the sticky nav is 4px smaller. (non sticky has 64px, sticky has 60px).
To address this, you can force both of the navigation bar states to have the same navigation site.
Example:
.navigation-branding img{
height: 64px important!;
}
As for the background height, the sticky has a bigger background because it has a larger line-height value (60px for sticky, 40px for non-sticky) and there’s a padding added on each of them (12px on top and bottom):
#menu-item-xxxx a {
padding-top: 12px;
padding-bottom: 12px;
}
I understand that this was added to replicate the same height but perhaps this is the better way:
nav#sticky-navigation .inside-navigation {
margin: 0 !important;
padding: 20px 0 !important;
}
After setting this, make sure the Menu Item Height
is set the same for both the sticky navigation and the primary navigation.
Here’s how it’d look like: https://share.getcloudapp.com/E0u4AbL9
As you can see, it looks really similar. ๐