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 6 posts - 1 through 6 (of 6 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 1 day, 20 hours 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?

Tagged: 

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