Support » Plugin: WooCommerce » CSS to Block Display of Related Products below the product description

  • Resolved regerman926

    (@regerman926)


    We wish to NOT display the Related Products that appear below a product Description when a user selects the product title link at the Cart to go to the description.

    Has anyone done this as well and how did you make it happen? Could use some shared CSS if possible.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Senff – a11n

    (@senff)

    Hey @regerman926

    To remove the related products on a product page, you can use this CSS code:

    body.single-product .related.products {
      display: none;
    }
    Thread Starter regerman926

    (@regerman926)

    Thanks for the code. Unfortunately, it does not work. The code has been added and the link above shows no change.

    Plugin Support Tseten a11n

    (@tibetanitech)

    Hi there,

    I found a small error in the above snippet. Please replace it with the following snippet:

    
    body .single-product .related.products {
        display: none;
    }
    

    Let us know how that goes.

    Plugin Support Tseten a11n

    (@tibetanitech)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS to Block Display of Related Products below the product description’ is closed to new replies.