Remove Product Categories from Search Bar | XStore

This topic has 6 replies, 3 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler

  • Avatar: AmanziDigital
    AmanziDigital
    Participant
    March 6, 2019 at 13:04

    Hi Support,

    Is there a way for me to remove the product categories from the left side of the search bar on XStore? We have a big store and is causing us to have to many links on our pages.

    Thanks and kind regards
    Ryan

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 6, 2019 at 13:12

    Hello,

    You can add this custom CSS code:

    .header-advanced .header-search.act-default select {
        display:  none;
    }

    Regards

    Avatar: AmanziDigital
    AmanziDigital
    Participant
    March 6, 2019 at 16:50

    Hi Rose,

    I want to remove the links from my source code. Hiding with CSS will not help this. IS there a way to hook into it and disable to code?

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 6, 2019 at 17:37

    Hello,

    In this case copy xstore/woosearchform.php file to your child theme and edit according to your needs http://prntscr.com/mu5rl8 .

    Regards

    Avatar: AmanziDigital
    AmanziDigital
    Participant
    March 7, 2019 at 06:28

    Thank you 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 7, 2019 at 07:58

    Hello,

    You’re welcome!

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Remove Product Categories from Search Bar | XStore’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.