I actually would like to amend this. I got the entire thing to work, but photos go over it when scrolling. Also, is there a way to cut out the top nav?
I’m also having trouble with the scroll bar menu. My Page: https://bds123.vn/
Do you have any ideas for me?
@felicity140 please don’t hijack other people’s threads. No two issues are the same so please open your own topic. Thank you.
@rrgraham for the photo issue when scrolling just go to plugin settings, go to Advanced settings tab and add 9999 value to z-index. Should do the job.
Regarding the “cut out the top nav” request, could you be more specific? I didn’t understand what you mean.
If you have a minute, and haven’t done so, please leave a review. It’s what keeps support going. Thank you 🙏https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/reviews/#new-post
Sure @manuelrocha88. On our page, we have a top nav, which has like about, who we are, etc., and then we have the site-header below it, and then we have a main navigation that contains our categories. So think of it like a sandwich.
I want to only make the site-header and the main navigation sticky and I’m not sure that’s possible. I was able to get the entire “sandwich,” which is called #masthead, to stick.
You can see what I mean at sanantonioreport.org.
@rrgraham that’s easy. Add as sticky element header#masthead.
Then, at your theme custom css theme add this:
.element-is-sticky > div.top-header-contain {
display: none;
}
This should do the job. If not, please activate the plugin with the header#masthead so I can help you with the right CSS, but that one should do the job.
This was perfect @manuelrocha88. Thank you for your help.