Create sticky menu in 2022 theme
-
In the linked page, I’d like to make the menu stick when it reaches the top of the screen during scrolling.
I’d prefer to do this with CSS rather than with a plugin.
I’m using the Full-Site Editor in WordPress 6.0 and adding custom CSS via the plugin “Site Origin CSS.” (I’ve successfully added other CSS to this theme via the plugin, so it’s working fine.)
I added the class “sticky” to the nav in Header > Navigation > Additional CSS class(es) and then tried adding CSS from some tutorials online. None of it worked, so I removed it. (I don’t really need that additional class since there are no other menus on the site – correct?)
I’d be grateful for any help.
Thanks!
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Create sticky menu in 2022 theme’ is closed to new replies.