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

Solved5 replies2 participantsUpdated by Rose Tyler

  • Avatar: Thomas_Tam
    KThomas
    Participant

    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

    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

    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

    Hello,

    Please change the code to:

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

    Regards

    Avatar: Thomas_Tam
    KThomas
    Participant

    Hi Rose,

    Fixed.

    Thanks and Best Regards,
    Thomas

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You’re welcome!
    Have a nice day.

    Best Regards

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