2.x: Dropdown menu item width

  • Greybox

    #48720

    How can I control the Dropdown menu item width? There is no menu item in 2.x anymore. I would like to set it to 300px.

    Thank you.

    Admin

    Syahir Hakim

    #48745

    Copy and paste this code in Additional CSS:

    .navbar .nav ul li a {
       width: 300px;
    }
    

    Greybox

    #48770

    I added this CSS and this affects background only. The text does not wrap following the background width like before. Any suggestions?

    Greybox

    #48792

    Anybody can help me?

    Admin

    Syahir Hakim

    #48800

    Please provide the URL to your site so that we can take a look.

    Greybox

    #48814

    http://testing123.zone/

    Please take a look at RADIO CONTROLS and PROXIMITY DETECTION dropdown menu – the text column width does not wrap to 300 pixel width.

    Admin

    Syahir Hakim

    #48824

    Copy and paste this code into Additional CSS:

    .navbar .nav ul li a {
       white-space: normal;
    }
    

    Greybox

    #48832

    Perfect, thank you very much!!

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

You must be logged in to reply to this topic.