Expanding width of drop-down menu to avoid text wrap

Home Forums Jevelin Theme Expanding width of drop-down menu to avoid text wrap

Home Forums Jevelin Theme Expanding width of drop-down menu to avoid text wrap

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • akhizenko
    Participant

    Hi, I’d like to remote text wrapping for the drop-down menu in desktop. Can please please provide a CSS code or a configuration I need to update to do so? I’d like to keep the drop-down menu to width just enough to avoid text-wrap (not 100% of the desktop screen).

     

    Attachments:
    You must be logged in to view attached files.

    Hi @akhizenko,

     

    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

     

    #header-navigation .sh-nav ul.sub-menu {
        width: 230px;
    }

     

    Best regards,
    Shufflehound team

    akhizenko
    Participant

    Thank you. The fix worked for the home page, however I’m still seeing text wrap in the following page.

    https://maxavi.ai/remoteguards/

    I tried adding the code you indicated directly into the page’s Custom CSS but the code as written gave me an error. Please advise.

    Attachments:
    You must be logged in to view attached files.

    Please try changing the above shared CSS code as below.

     

    #header-navigation .sh-nav ul.sub-menu {
        width: 240px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)