Drop-down menu adjustable width

Home Forums Jevelin Theme Drop-down menu adjustable width

Home Forums Jevelin Theme Drop-down menu adjustable width

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • appetitte
    Participant

    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

    appetitte
    Participant

    Sure thing! See below.

    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;
    }

    appetitte
    Participant

    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.

    appetitte
    Participant

    Great – thank you!

    You are most welcome here 🙂

Viewing 8 posts - 1 through 8 (of 8 total)