Dear Kriesi,
One submenu is very long which is why I’ve applied the solution as suggested here: https://kriesi.at/support/topic/untermenu-scrollen/ At first it looked great, but now I realize that the scroll function applies to all submenus, which makes it look super bad see print screen: http://prntscr.com/bvr6hv
Can the code be applied in a way, so that it only effects the menu item “Kantone” and not the others?
Thank you and best,
R
Hey eKMUch,
try this code instead:
.main_menu .menu-item-1136 .menu ul {
height: 500px;
overflow: hidden;
overflow-y: scroll;
}
Best regards,
Andy
Hi Andy,
Thanks, this code looks good but unfortunately doesn’t work. The website does not react to it.
Do you have any other idea?
Thanks,
Raphael
Hi,
try to add an !important to the code:
.main_menu .menu-item-1136 .menu ul {
height: 500px !important;
overflow: hidden !important;
overflow-y: scroll !important;
}
Best regards,
Andy
Hi Andy,
Again, the code looks neat, but it doesn’t work on the page :( Do you have any other suggestion on how to do this?
Thank you and best,
R
Hi,
try this code instead:
#menu-item-3000 ul.sub-menu {
height: 500px !important;
overflow: hidden !important;
overflow-y: scroll !important;
}
or this:
ul.sub-menu {
height: 500px !important;
overflow: hidden !important;
overflow-y: scroll !important;
}
If none is working then it’s caused by your caching plugin. Switch caching off, then deactivate caching plugin, then clear browser cache and hard refresh a few times.
Best regards,
Andy
Hi Andy,
Awesome, thanks! The first code did the trick (even without deactivating caching :)
Thanks a lot!!
All the best,
R
Hi,
glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Best regards,
Andy