Home Forums WoodMart support forum WOODMART HEADER CATEGORIES MODULE SCROLLBAR

WOODMART HEADER CATEGORIES MODULE SCROLLBAR

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

    christos-3655
    Participant

    Hello. i need a css code to add a scroll bar in the categories module. when the tab is open i have 17 categories but it shows only the 10 and i need a scrollbar for that. Can you help me please? i have the website link in privet to take a look.

    #478191

    Bogdan Donovan
    Keymaster

    Hi,

    Try to add the following code snippet to the Custom CSS area in Theme Settings:

    .wd-dropdown-cats {
    	overflow: hidden;
    	overflow-y: auto;
    	-webkit-overflow-scrolling: touch;
    	max-height: 586px;
    }

    Kind Regards

    #478226

    christos-3655
    Participant

    Thanks. It works but there is another issue. It dosent show the html block i have attached with the category. Is there any way to do it?

    #478248

    Bogdan Donovan
    Keymaster

    In CSS, scrolling can be achieved only by applying the overflow property, which is cutting off any content outside the initial element. Unfortunately, it does not have other solutions. In that case, you have to choose between scrolling and dropdowns. In that case, we recommend you reorganize your categories using parent categories and mega menu dropdowns, which take less vertical space and scrolling will be not needed.

    Kind Regards

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