• Resolved Joleb

    (@joleb)


    I would like that the description in my dropdown menu be on one line only.

    How can I change the dropdown menu width ?

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Theme Author richarduk

    (@richarduk)

    To change all dropdowns, top and bottom, width 500px, top options box (1):

    ul.top-navigation li li a:visited,
    .top-navigation ul ul a,
    ul.bottom-navigation li li a:link,
    ul.bottom-navigation li li a:visited,
    .bottom-navigation ul ul a {
    width:500px;
    }
    </style>

    To change sub menu and subsequent sub-menus View Source, find id of sub-menu (eg by creating menu with word ‘elephant’ and then searching for ‘elephant’):

    <style type="text/css">
    ul.top-navigation li li#menu-item-243 a:link,
    ul.top-navigation li li a:visited,
    .top-navigation ul ul a {
    width:500px;
    }
    </style>

    To change one specific sub-menu item only and NOT subsequent ones (hopefully):

    <style type="text/css">
    ul.top-navigation li#menu-item-243 li a:link,
    ul.top-navigation li li a:visited,
    .top-navigation ul ul a {
    width:500px;
    }
    </style>
Viewing 1 replies (of 1 total)
  • The topic ‘Width of dropdown menu’ is closed to new replies.