This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

fixed width second level menu in accordance with navbar

Resolved 3 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 11 years, 19 days ago

    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. Rins Boschma 11 years, 17 days ago

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

  3. Andrew Misplon Staff 11 years, 17 days ago

    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.

Have a different question or issue?

Start New Thread