How can Don't want show CATEGORIES on "mobile version only"?

This topic has 6 replies, 2 voices, and was last updated 4 years, 7 months ago ago by Rose Tyler

  • Avatar: Thomas_Tam
    KThomas
    Participant
    August 22, 2019 at 12:44

    Hi,

    Can I disable the Categories on “mobile version only” and keep it on the PC version?

    Thanks and Best Regards,
    Thomas

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2019 at 12:58

    Hello,

    Add this code in Theme options > Custom CSS > Custom CSS for mobile:

    .post-type-archive-product .sidebar {
        display: none;
    }

    Regards

    Avatar: Thomas_Tam
    KThomas
    Participant
    August 22, 2019 at 13:29

    Hi Rose,

    Many thanks.

    This code only solved the shop page but the other pages still have categories. eg. clearance.

    Best Regards,
    Thomas

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2019 at 13:35

    Hello,

    Please change the code to:

    .post-type-archive-product .sidebar,
    .tax-product_cat .sidebar{
        display: none;
    }

    Regards

    Avatar: Thomas_Tam
    KThomas
    Participant
    August 22, 2019 at 13:51

    Hi Rose,

    Fixed.

    Thanks and Best Regards,
    Thomas

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2019 at 13:51

    Hello,

    You’re welcome!
    Have a nice day.

    Best Regards

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

The issue related to '‘How can Don't want show CATEGORIES on "mobile version only"?’' 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.