Home Forums WoodMart support forum Ajax Search Module

Ajax Search Module

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

    lezdotechmed
    Participant

    Hi Xtemos team,

    We would like to show only the parent categories in Ajax search. Currently, it is displaying all the parent categories and sub-categories as well.

    How to disable/hide sub-categories in Ajax search bar?

    #149265

    Hello,

    To hide the subcategories or child categories from the ajax search so the only parent categories will shown you can use the below css code in Theme Settings >> Custom CSS >> Global Custom CSS:

    .search-by-category .children{
    display:none;
    }

    Result: https://jmp.sh/jofQLxi

    Best Regards.

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