How to increase the width of the submenus (without affecting the main menu)
-
Hello,
I am trying to increase the width of the submenus. Using Inspect, I found this class was able to do it:
.wp-block-navigation-submenu {width: 220px;}
However, that also affects the display of how it looks on the main menu as well, affecting only those nav items that have a submenu.
I also tried going to the FSE > Styles > Blocks > Submenus and adding custom CSS there, and it again worked but affected all the display of the parent menus as well.
Might you assist me in determining what code I could add to have it select only the submenu, and not the entire menu? Thanks for any guidance!
The page I need help with: [log in to see the link]
- The topic ‘How to increase the width of the submenus (without affecting the main menu)’ is closed to new replies.