Edit single product, not single product page

This topic has 3 replies, 2 voices, and was last updated 2 years, 10 months ago ago by KBC

  • Avatar: KBC
    KBC
    Participant
    June 24, 2021 at 22:52

    I have one product where I want to provide a link to the designer, but don’t want add to cart, #, etc. I only know the css to not display for all pages, but not just 1.

    The places on the ss marked with black x are what I don’t want on this page
    thank you

    EDIT: I did a little tweaking to make it better, but still need to know how to make these 2 elements not display on this product/page

    div.quantity, div.quantity ~ .single_add_to_cart_button {
        margin-bottom: 10px;
        display: none;
    }
    .product-content .price {
        width: 100%;
        margin-bottom: .5em;
        font-size: 1.4rem;
        line-height: 1.2;
        color: var(--et_main-color);
    }

    https://sheaandlea.com/shop-3/customizable-towels/

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 25, 2021 at 10:21

    Hello,

    Add the below code to Theme Options Custom CSS

    .single-product.postid-3124 .price, .single-product.postid-3124 .cart, 
    .single-product.postid-3124 .single_product_div, .single-product.postid-3124 .woocommerce-tabs.tabs {
        display: none;
    }

    Regards

    Avatar: KBC
    KBC
    Participant
    June 25, 2021 at 19:11

    Thank you kindly

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

The issue related to '‘edit single product, not single product page’' 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.