Archived topic
Make top bar sticky
9 replies · Started by Craig on August 23, 2017
Is there any way to make the "top bar" sticky?
Your feedback will be appreciated.
You should be able to do this:
.top-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
}
.admin-bar .top-bar {
top: 32px;
}
Thanks Tom, works like a charm...
You're welcome :)
Do you put the code in Additional CSS? I tried on my site and unfortunately, it did not work for me.
https://carpetcleaninglittletonco.com
Yup in Addtional CSS.
I don't see the CSS being added though. Try clearing caching plugin?
Yes, I removed the CSS because it made the top bar appear behind my navigation.
I put it back on so you could see the result.
What is that housecall bar at the top with the Book Online button?
Is it supposed to be there?
Hi,
how can I move top bar, display at bottom of phone and also sticky?
thank you
Can you open a new topic for your question?
Thanks :)