Home Forums WoodMart support forum Home page – Popular Categories – Limit categories

Home page – Popular Categories – Limit categories

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

    dmitry.repida
    Participant

    I want to select only a few subcategories instead of displaying them all. How can I do this?

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    This is the default styling for Woodmart’s “Categories Design Side” layout. I can explain what each section is doing and how it affects the widget. However, to control which subcategories appear, you still need to select the subcategories in Products > Categories.

    If your goal is to limit the height of the subcategory list and make it scrollable or clipped, that can be done using CSS. If you want, I can take a closer look at your site and provide a possible solution for this.

    Best Regards,

    #706062

    dmitry.repida
    Participant

    Hello, so there is no way to limit the subcategories in this block without changing the structure in Products > Categories?

    #706095

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Try to add the following custom css code in Theme Settings > Custom CSS to Limit height and make it scrollable.

     .cat-design-side .wd-cat-sub-menu {
        max-height: 150px; /* adjust height as needed */
        overflow-y: auto;  /* adds vertical scroll */
    }

    To Limit height and hide extra items (no scroll)

    .cat-design-side .wd-cat-sub-menu {
        max-height: 150px;  /* adjust height */
        overflow: hidden;   /* hides anything beyond max height */
    }

    Hope this Helps!

    Best Regards,

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