Home Forums WoodMart support forum HTML Block for the dropdown height

HTML Block for the dropdown height

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #463389

    arctica
    Participant

    Hello
    I’ve set the HTML Block for the dropdown height to 300px, but it doesn’t work. I’d like the block to be scrollable if its content make it to be heigher than 300px. I would appreciate if you take a look and attached screenshot and assist me.
    Thank you in advance,
    Karol

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

    Artem Temos
    Keymaster

    Hello,

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

    .whb-header .wd-nav-vertical .wd-dropdown-menu:is(.wd-design-sized,.wd-design-full-width) .wd-dropdown-inner {
    	height: min(var(--wd-dropdown-height), var(--wd-content-h));
    }

    Kind Regards

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