Home Forums WoodMart support forum Hide Add to cart button on product grid

Hide Add to cart button on product grid

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #475255

    thethreeiron
    Participant

    Hello,
    how can I hide the add to cart button on product grid?

    I attach the screenshot.

    I tried with:
    .product-grid-item .wd-add-btn {
    display: none;
    }

    But didn’t work

    Thank you in advance.

    Attachments:
    You must be logged in to view attached files.
    #475345

    Hello,

    Please provide the page URL we will provide custom CSS.

    If you have any questions please feel free to contact us.

    Best Regards

    #475495

    thethreeiron
    Participant

    Hello,
    the page url is https://the3iron.golf/shop/

    I inserted these CSS:

    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.add-to-cart-loop {
    display: none !important;
    }
    a.button.product_type_variable.add_to_cart_button.add-to-cart-loop {
    display: none !important;
    }

    But it works for single products but not for variables one.

    For example look at the attached screenshot file where I highlight a variable product that still have Add to cart button.

    I wait your kind help.

    Regards,

    Manuele.

    Attachments:
    You must be logged in to view attached files.
    #475679

    Hello,

    Please try this one:

    body .wd-action-btn.wd-add-cart-icon {
    display:none;
    }

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)