Disable only a part off Filters on Mobile view

This topic has 5 replies, 2 voices, and was last updated 1 years, 3 months ago ago by ProdbyDaan

  • Avatar: ProdbyDaan
    ProdbyDaan
    Participant
    September 9, 2023 at 15:32

    Hello Team,

    is it possible to disable only a part of Filter on Mobile? With CSS or something else?

    On Mobile, I want to disable this filter, but ONLY on Mobile.
    https://prnt.sc/uW-C5e5eNiBr

    I tried it with the following CSS, but it looks like it don’t work.

    @media only screen and (max-width: 767px){
    .filter-wrap .filter-content > :last-child {
    display: none !important;
    }
    }

    and with

    .products-per-page {
    display: none !important;
    }

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 9, 2023 at 15:53

    Hello, ProdbyDaan,

    Thank you for contacting us and for using XStore.

    Please try to add the next code in Theme Options > Theme custom CSS > Mobile:

    .filter-wrap .products-per-page {
        display: none !important;
    }

    Do not forget to clear cache of your browser on mobile.

    Kind Regards,
    8theme team

    Avatar: ProdbyDaan
    ProdbyDaan
    Participant
    September 9, 2023 at 16:29

    Hey, unfortunately it doesn’t worked 🙁

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 9, 2023 at 16:32

    Hello, ProdbyDaan,

    We appreciate your prompt response.

    As we can see, the code works for a user logged as admin – https://prnt.sc/ia0pnnudO4ly
    Please clear CDN cache.

    Kind Regards,
    8theme team

    Avatar: ProdbyDaan
    ProdbyDaan
    Participant
    September 9, 2023 at 16:39

    Okay worked know 😀
    Thank you very much Rose! 🙂

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

The issue related to '‘Disable only a part off Filters on Mobile view’' 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.