To whom it may concern,
I have 2 menu items with sub menu items. When I try to change the style of one sub menu item, it changes the other one.
How can I reduce the width of only the sub menu item for 1 particular menu item
Hey FamalcoGroup,
Did you select to for that to be a Mega Menu under Appearance->Menus?
Best regards,
Rikard
Hi Rikard,
Thanks for your reply.
No I didn’t use it as a mega menu as the styling completely changes. When I change it to a mega menu, the options instead of being stacked under each other they are displayed next to each other. I just want to leave everything as is and maybe just find a way to reduce the width for that specific sub menu only
Regards
Hi,
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
#top #header.av_minimal_header .main_menu ul:first-child > li#menu-item-17625 > ul {
width: 120px;
}
Best regards,
Yigit
Than you so much this worked :)
Hi,
Great, I’m glad that Yigit could help you out. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Thank you this can be closed :)
Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard