Hide Categories and Tags on Single Product Page

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

  • Avatar: andrew.d.harris1
    andrew.d.harris1
    Participant
    September 20, 2017 at 14:37

    How can I hide the categories and tags on the single product page?
    https://imgur.com/LJQLAOn

    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 20, 2017 at 14:43

    Hello,

    You may add this code in Theme Options > Styling > Custom css:

    .single-product-booking .product-side-information-inner .product_meta {
        display:none;
    }

    Regards

    Avatar: andrew.d.harris1
    andrew.d.harris1
    Participant
    September 20, 2017 at 17:45

    Thank you. That did work but I’ve decided to change the layout on my single product page. How can I hide the categories and tags now?
    https://imgur.com/IVxWcEv

    Avatar: laranz
    Laranz
    Participant
    September 21, 2017 at 02:00

    Hello,
    I would suggest to add this code in Theme Options > Styling > Custom CSS:

    div.products-page-cats{display;none !important;}

    Avatar: andrew.d.harris1
    andrew.d.harris1
    Participant
    September 21, 2017 at 03:19

    This is the error I get when I put that code in the custom CSS field
    https://imgur.com/vegZs8n

    Avatar: amzy
    Amzy Leel
    Participant
    September 21, 2017 at 06:42

    Hi,

    Sorry, the correct one is

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

    Avatar: andrew.d.harris1
    andrew.d.harris1
    Participant
    September 21, 2017 at 14:40

    Thank you. That did hide the categories. How can I hide the product tags down below the add to cart button?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 21, 2017 at 14:57

    Hello,

    Please change previous code to:

    .single-product .product-information .products-page-cats, .single-product .product-information .product_meta > span {
        display: none;
    }
    

    Regards

    Avatar: andrew.d.harris1
    andrew.d.harris1
    Participant
    September 21, 2017 at 15:36

    This is the error I get when I try to put that code in
    https://imgur.com/9KZ7KIU

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 21, 2017 at 15:41

    Make sure that > wasn’t changed to &.

    Regards

    Avatar: andrew.d.harris1
    andrew.d.harris1
    Participant
    September 21, 2017 at 15:47

    Thank you. That fixed it.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 21, 2017 at 15:48

    You’re welcome!

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

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