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 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.