Under Horticultural Products I have a sub-menu with COIR, BAMBOO and APPENDIX which doesn’t require very much width. I would like to make it narrow so that I can make the sub sub menus wider.
As usual this is the perfect answer. Thank you so much Tom.
Now just to make it a little more difficult, is it possible to have different widths for each of the sub-menus in the secondary navigation – i.e. Under Horticultural Products
.secondary-menu > li > ul {
width:120px !important;
}
.secondary-menu > li > ul > li > ul {
width:320px !important;
}
.secondary-menu > li > ul > li > ul > li > ul {
width:330px !important;
}
but Under Retail Products
.secondary-menu > li > ul {
width:320px !important;
}
.secondary-menu > li > ul > li > ul {
width:500px !important;
}
I thought I would be able to put the .menu-item- number in front but that just negates the good changes that are working with your code.
You’ll have to inspect the elements and find the specific menu item IDs for each item to specifically target them. The classes should be in the <li> elements and look something like: menu-item-123