I am unable to figure out how to keep my top navigation sticky on tablets/phones. I see in the code a class called "hidden-secondary" appears when I scroll down, but I'm not sure how to remove that class. Can you help?
I have a lot of css in use to get the overall header to be the way we want it to be. I really wish there were more options within the theme for the top header to be styled other than center text. I really can't remove what I've got since the site is live.
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
@media only screen and (min-width: 1px) and (max-width: 999px) {
div#header-outer.hidden-secondary {
transform: translateY(0px) !important;
}
.hidden-secondary #header-secondary-outer {
background-color: #003da5 !important;
}
}
I am unable to figure out how to keep my top navigation sticky on tablets/phones. I see in the code a class called "hidden-secondary" appears when I scroll down, but I'm not sure how to remove that class. Can you help?
Hey Again,
Could you remove the Custom CSS in place so we can write up CSS to show it correctly?. At the moment the Header seems to take up much space on mobile.
Thanks
ThemeNectar Support Team
I have a lot of css in use to get the overall header to be the way we want it to be. I really wish there were more options within the theme for the top header to be styled other than center text. I really can't remove what I've got since the site is live.
This is what it looks like on my phone.
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Thank you!!!