Title: Submenu container width shrinks
Last modified: August 29, 2025

---

# Submenu container width shrinks

 *  Resolved [Garry Rigby](https://wordpress.org/support/users/indigojones66/)
 * (@indigojones66)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/)
 * GutenKit Blocks
   Navi menu sub menuContainer widthI set at 190pxIf I edit the 
   page it goes to about 90 and is obviously too narrow
 * [https://geldyandthefinnishambassadorsparrot.com/](https://geldyandthefinnishambassadorsparrot.com/)
 * [https://geldyandthefinnishambassadorsparrot.com/container-width.jpg](https://geldyandthefinnishambassadorsparrot.com/container-width.jpg)
 * If I try and put width 190px in the below it does not work
 * .gitmenu {
   margin-left: auto;margin-right: 7%;margin-bottom:0%;color:white!important;
   font-size: 18px;margin-bottom:1%;
 * }
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsubmenu-container-width-shrinks%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Reedwanul Haque](https://wordpress.org/support/users/reedwanul/)
 * (@reedwanul)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/#post-18618690)
 * Dear [@indigojones66](https://wordpress.org/support/users/indigojones66/) ,
 * Thanks for reaching out to us.
 * I’ve checked your reference site and can see the submenu width is appearing properly
   at **190px**. If you feel the width is too narrow, you can increase it from the
   builder. Also, if you’d like the menu to appear on the right side, you can set
   that from the builder too. For clarification, here’s a quick video guide: [https://d.pr/v/1CuM74](https://d.pr/v/1CuM74).
 * ​​Feel free to let me know if you have any other questions or need clarification.
 * Best Regards,
   Reju
 *  Thread Starter [Garry Rigby](https://wordpress.org/support/users/indigojones66/)
 * (@indigojones66)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/#post-18619061)
 * Hi Reedwanul, thanks so much for your quick response. I think there is a bug 
   in the theme I am using; when I edit the page, the container width changes. How
   do I specify this container width in my custom css?.. this way the container 
   width will stay fixed at 190px.
 * Regards
   Garry
 *  Plugin Support [Reedwanul Haque](https://wordpress.org/support/users/reedwanul/)
 * (@reedwanul)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/#post-18620237)
 * Dear [@indigojones66](https://wordpress.org/support/users/indigojones66/),
 * I hope you are doing well, and I understand your concern. It seems you are using
   a classic theme. Please note that you are building a block-based site, and using
   a block-based theme will give you the best results. I recommend the **[Hello Blocks](https://wordpress.org/themes/hello-blocks/)**
   theme, which should help you avoid such issues.
 * However, if you would like to fix the width without changing your theme, you 
   can add the following code to your `functions.php` file:
 *     ```wp-block-code
       function custom_gkit_nav_menu_styles() {    $custom_css = "        .gkit-nav-menu-submenu {            min-width: 190px !important;        }    ";    echo '<style>' . $custom_css . '</style>';	}add_action('wp_head', 'custom_gkit_nav_menu_styles');add_action('admin_head', 'custom_gkit_nav_menu_styles');
       ```
   
 * After following these instructions, I hope your issue will be resolved. Please
   let us know if it’s working or if you need any further assistance. Your patience
   and cooperation are greatly appreciated.
 * Best Regards,
   Reju
 *  Thread Starter [Garry Rigby](https://wordpress.org/support/users/indigojones66/)
 * (@indigojones66)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/#post-18620397)
 * Thanks Reju
 *  Plugin Support [Reedwanul Haque](https://wordpress.org/support/users/reedwanul/)
 * (@reedwanul)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/#post-18620904)
 * Welcome, dear [@indigojones66](https://wordpress.org/support/users/indigojones66/)!
   If you have any questions or run into any issues, please feel free to reach out
   to us anytime, we’re always happy to help.
 * Also, if you’re satisfied with the plugin and our support team, we’d greatly 
   appreciate it if you could leave us a 5-star review on WordPress.org!
 * Please navigate to the **Review** link from the sidebar then click the Add your
   own **review** link to put your review.
 * We’re working so hard to make this plugin more and more useful to our valuable
   users like you and a 5-star will really help us to grow on the market.
 * Best Regards,
   Reju

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

The topic ‘Submenu container width shrinks’ is closed to new replies.

 * ![](https://ps.w.org/gutenkit-blocks-addon/assets/icon-256x256.gif?rev=3116270)
 * [GutenKit – Page Builder Blocks, Patterns, and Templates for Gutenberg Block Editor](https://wordpress.org/plugins/gutenkit-blocks-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenkit-blocks-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenkit-blocks-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenkit-blocks-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenkit-blocks-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenkit-blocks-addon/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Reedwanul Haque](https://wordpress.org/support/users/reedwanul/)
 * Last activity: [7 months, 1 week ago](https://wordpress.org/support/topic/submenu-container-width-shrinks/#post-18620904)
 * Status: resolved