Home New Guten Forums WoodMart support forum Is it possible to do category menu with vertical scroll

Is it possible to do category menu with vertical scroll

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #669353

    yuriy.turovtsev
    Participant

    I have many points in this menu, may be you know how to show them better. May be with vertical scroll

    Attachments:
    You must be logged in to view attached files.
    #669390

    Hello,

    The navigation menu items must fit on the screen in case menu items don’t fit, you need to somehow reorganize the menu. It is impossible to define the “scroll” there because in this case, the drop-down submenus will be cut off by the “overflow”.

    Please add this code to the Theme Settings > Custom CSS > Global to add the scrollbar.

    .wd-dropdown-cats .wd-nav-vertical {
        max-height: 300px; /* Adjust height as needed */
        overflow-y: auto;
    }
    
    .wd-dropdown-cats .wd-nav-vertical::-webkit-scrollbar {
        width: 6px;
    }
    
    .wd-dropdown-cats .wd-nav-vertical::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

    Best Regards,

    #669872

    yuriy.turovtsev
    Participant

    thank you, it’s working!

    #669915

    Hello,

    You’re very welcome! If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Is it possible to do category menu with vertical scroll’ is closed to new replies.