Comments Kochkunststuecke started the conversationJuly 27, 2021 at 4:21pmHi there,we have a long dropdown menu, this is not fully showing on smaller screens. Can you add a scrollbar or break it in two columns if the height is not enough?Thank you 2,614PenciDesign repliedJuly 27, 2021 at 4:34pmHi,Please go to Appearance → Customize → Custom CSS then add the following custom CSS code: @media only screen and (max-width: 767px) { #navigation .menu .sub-menu, #navigation .menu .children { overflow: hidden; max-height: 300px; overflow-y: scroll; }} This code only applies to the small screen. Change 300px to your custom height of the sub-menu.Regards,PenciDesign.1 LikeKochkunststuecke repliedJuly 27, 2021 at 5:35pmThank you, I changed it to this and it worked very well:@media only screen and (max-height: 900px) { #navigation .menu .sub-menu, #navigation .menu .children { overflow: hidden; max-height: 600px; overflow-y: scroll; }} @media only screen and (max-height: 600px) { #navigation .menu .sub-menu, #navigation .menu .children { overflow: hidden; max-height: 300px; overflow-y: scroll; }} Sign in to reply ...
Hi there,
we have a long dropdown menu, this is not fully showing on smaller screens. Can you add a scrollbar or break it in two columns if the height is not enough?
Thank you
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
This code only applies to the small screen. Change 300px to your custom height of the sub-menu.Regards,
PenciDesign.
Thank you, I changed it to this and it worked very well:
@media only screen and (max-height: 900px) {
#navigation .menu .sub-menu,
#navigation .menu .children {
overflow: hidden;
max-height: 600px;
overflow-y: scroll;
}
}
@media only screen and (max-height: 600px) {
#navigation .menu .sub-menu,
#navigation .menu .children {
overflow: hidden;
max-height: 300px;
overflow-y: scroll;
}
}