Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1009887

    Hi guys,

    I´ve got the following code in order to adjust the width of the dropdown submenus:

    #top .main_menu .menu li ul ul{
    left: -225px !important;
    width: 225px;}

    which works great but I was wondering if there was a way to make the width responsive to the width of the submenu item (amount of words) in the submenu? i.e. I have 3 submenus that pop out from the main drop down menu and some have a lot of white space after the menu item which I´d like to remove by making each submenu area different (responsive to the amount of words in that box)

    Please see photos in link below

    Many thanks for your help

    #1010017

    Hey ProTravelGolf,

    That is not possible unfortunately, the only options you have is a set width value or auto, which would automatically adapt the width:

    #top .main_menu .menu li ul ul{
    left: -225px !important;
    width: auto;
    }

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.