Home Forums WoodMart support forum I want categories in my search bar but I don’t wan’t sub-cats in it.

I want categories in my search bar but I don’t wan’t sub-cats in it.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #605592

    aijaz
    Participant

    Hi, I am using woodmart header builder search widget and it includes an option to include categories but actually it brings all categories including subcategories.
    I just want parent categories.

    • This topic was modified 2 months, 1 week ago by aijaz.
    Attachments:
    You must be logged in to view attached files.
    #605822

    Hello,

    Can you please share the page URL so I will check and give you a possible solution?

    Best Regards

    #605882

    aijaz
    Participant

    trendyleatherjackets.com it’s in header everywhere

    #605979

    Hello,

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

    .wd-dropdown-search-cat .children li a {
        display: none !important;
    }

    Best Regards

    #606160

    aijaz
    Participant

    Lazy asses, bruh Just add the feature. I could have applied CSS myself ufff!

    #606166

    aijaz
    Participant

    And you know it’s not a good practice to include HTML code and hide it with CSS. Bots can still read the html code and they often call it misrepresentation. this is not good for SEO too. OMG how you guys claim to be SEO friendly?

    #606194

    Hello,

    Unfortunately, There is no other way that you can hide the subcategories from the search bar dropdown.
    It requires customization and this is beyond our limitations and support policy.

    Best Regards

    #606595

    aijaz
    Participant

    How can I mark this topic closed? it is still showing status as “in progress”

    #606901

    Hello,

    No worries. I will close this topic.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

Tagged: 

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

The topic ‘I want categories in my search bar but I don’t wan’t sub-cats in it.’ is closed to new replies.