Last active
January 26, 2023 15:03
-
-
Save fieldoffice/c4c6df69f61b21769c6e to your computer and use it in GitHub Desktop.
Wordpress - add div wrapper around sub-menu
This works for me
Thanks.
Removed the hyphen from the class name and this works well for me in Wordpress 5.4.1. Thank you!
Really helpful - works great.
Any ideas on how I can give a different class to each level of sub, sub-sub-menu, etc. ?
Classes can be added directly in the WP Edit Menu to each menu item
This is true, and a good point but I was looking for an automated method.
Thanks for the ideas!
Please how to change ul and li to div
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should rename the class to submenuWrap. the - throws and error