Drop-down menu adjustable width
Hello –
I am trying to have my drop-down menu items fit in one line. Instead, it appears that the drop-down menu width is set to a certain limit instead of being auto-adjustable (non-wrap) based on the word length. Please kindly advise how to make it non-wrap. I don’t see that option in styling. Thank you.
Hi @appetitte ,
I hope you are well today and thank you for your question.
Could you please share the page URL from your site where it is displaying so that I can help you to adjust its width?
Best regards, Shufflehound team
Solution for this topic
You can increase sub-menu width by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Jevelin -> Theme Settings -> Custom CSS/JS -> CSS Code
#page-container .sh-nav ul.sub-menu {
width: 335px;
} Thanks! It did work allowing to set it to a specific width but did not make it adaptable based on the word length.
No, it is not adaptable.
You can adjust its width by changing the value 335px in the shared code.
You are most welcome here 🙂
Popular choice Professional Developers At Your Fingertips! If you need services beyond standard support, we've got your back!
Let's get started
Services we offer: Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.Got it