Title: Sub Menu Items Bug
Last modified: November 25, 2023

---

# Sub Menu Items Bug

 *  Resolved [raveleak](https://wordpress.org/support/users/raveleak/)
 * (@raveleak)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/sub-menu-items-bug/)
 * Hello ElmaStudio 🙂
 * I just noticed a possible bug in the theme, but I am not sure if its not caused
   by myself as I am no expert? 
   When I put two menu items as sub category it creates
   a box, which allows users to click on the different sub menu pages. However, 
   if I set the sub menu items up, the width of the entire site changes on the desktop
   version, probably due to the box with the sub menu list? How can I fix this issue
   so that the site width stays the same and the box is just moved to the left (
   on screen)? See screenshot (possible to scroll even more to the right)
 * ![](https://i0.wp.com/i.postimg.cc/s24yksjT/Website-wider.png?ssl=1)
 * Also I would like to have a menu item which can just be clicked so that the drop
   box appears without redirecting or having to create an entire new page for it.
   For example it would say “Legal” and if a user clicks on it different sub menu
   items appear like Data Protection, Privacy Policy etc. The Legal part should 
   therefore not be clickable and redirect people to a different page, but just 
   be used as a dropdown box for the other items.
 * Thank you very much in advance and best,
   Flo

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [raveleak](https://wordpress.org/support/users/raveleak/)
 * (@raveleak)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/sub-menu-items-bug/#post-17229714)
 * I managed to readjust the box size of the sub items which fixed the problem, 
   I used following code:
   .wp-block-navigation .has-child:not(.open-on-click):hover
   >.wp-block-navigation__submenu-container {min-width: 9rem!important;}However,
   I sitll have issues to make the “legal” main header not clickable instead of 
   acting like a drop down menu for the other items. Do you think you could assist
   me with this?
 *  Thread Starter [raveleak](https://wordpress.org/support/users/raveleak/)
 * (@raveleak)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/sub-menu-items-bug/#post-17229765)
 * It would also be perfect if the menu toggle could always be open without the 
   user having to click/ hover above it. So that the sub menu items are always displayed.
   Is this somehow possible to do?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sub Menu Items Bug’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/moog/1.1.1/screenshot.png)
 * Moog
 * [Support Threads](https://wordpress.org/support/theme/moog/)
 * [Active Topics](https://wordpress.org/support/theme/moog/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/moog/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/moog/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [raveleak](https://wordpress.org/support/users/raveleak/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/sub-menu-items-bug/#post-17229765)
 * Status: resolved