Home › Forums › Jevelin Theme › How to increase number of spaces allowed on one menu item line?
Home › Forums › Jevelin Theme › How to increase number of spaces allowed on one menu item line?
When you create the menu after so many spaces the title of the menu link goes on to a separate line e.g. on this page:
http://romex.mrvandigital.com/
If you use top menu dropdown item: About – Romex Canada West (the West goes on to a separate line)
How can I make it so that all of the menu title is on one line?
Thanks so much!
Hi @MrVanDigital,
I hope you are well today and thank you for your question.
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
#page-container .sh-nav ul.sub-menu { width: 300px; }
Best regards,
Shufflehound team
Thanks Shufflehound.
This works as long as it is not a mega menu. How do I stop it from affecting it if it’s a mega menu?
Take a look at this screenshot of what I mean: https://cl.ly/f676384d61ad
Solution for this topic
To make it not affect mega menu please use below custom CSS code instead of above shared.
#page-container .sh-nav ul.sub-menu:not(.mega-menu-row) { width: 300px; }
Awesome. Works a treat. You guys rock!
You are most welcome here 🙂