Dear @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.
Feel free to let me know if you have any other questions or need clarification.
Best Regards,
Reju
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
Dear @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 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:
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
Welcome, dear @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