Home>Support>fixed width second level menu in accordance with navbar

fixed width second level menu in accordance with navbar

Hello,

is there a way (css) to fix the width of the second level menu so that the width is the same as the width of the items in the primary menu? Or is there a way to fix the width of the items in the navbar in and fix the width of the secondlevel menu in accordance?

Thanks in advance,

Rins Boschma

URL: http://www.ictwillems.nl

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hi Rins

    Please try the following under Appearance > Custom CSS:

    /* Menu */
    
    .main-navigation ul li {
    width: 200px;
    }
    
    .main-navigation ul ul li {
    width: 200px;
    }
    

    It’s unfortunately not dynamic so you’ll need to decide what width to set.

  2. 9 years, 7 months ago Rins Boschma

    Thank you Andrew for your quick reply. The script works fine!

  3. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad that helped.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More