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
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
3Hi 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.
Thank you Andrew for your quick reply. The script works fine!
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.