Archived topic
Primary Nav and Sticky Nav Logo Placement
1 reply · Started by Resulta on June 8, 2021
Viewing posts 1–2 of 2
I have added the following css to my site logo, however when someone scrolls and the sticky nav is active this styling is not included. Is there a way I can get this css to apply to both the nav at the top of the site and the sticky nav?
`.site-logo {
margin-bottom: 8px;
margin-left: 70px;
}
Hi there,
Sticky navigation has its own logo element. It's using a different selector.
Let's modify your CSS to add in the selector for the sticky state.
.site-logo, .sticky-navigation-logo {
margin-left: 70px;
margin-bottom: 8px;
}
This archived topic is closed to new replies.