Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #663516

    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

    #664629

    Hey eKMUch,

    try this code instead:

    .main_menu .menu-item-1136 .menu ul {
    height: 500px;
    overflow: hidden;
    overflow-y: scroll;
    }
    

    Best regards,
    Andy

    #670419

    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

    #671342

    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

    #671371

    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

    #671387

    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

    #671415

    Hi Andy,

    Awesome, thanks! The first code did the trick (even without deactivating caching :)

    Thanks a lot!!

    All the best,
    R

    #671443

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Untermenü Scrollen ?’ is closed to new replies.