Jump to content

How to delete the add to cart button

Recommended Posts

  • Replies 3
  • Views 691
  • Created
  • Last Reply

The issue is that you've put the code inside a media query that says only do these rules when the screen is less than or equal to 768px.

@media only screen and (max-width: 768px) {
    #header #logoWrapper #logoImage img,#header #siteTitleWrapper #logoImage img {
        max-height:1000px;
        max-width: 100%;
        width: auto;
        height: auto
    }

    .sqs-add-to-cart-button-wrapper {
        display: none !important
    }

    .product-quantity-select {
        display: none !important
    }
}

Remove the code you added and put the following after the last } in the field.

.product-quantity-input,
.sqs-add-to-cart-button-wrapper

  {
  
    display : none;
    
    }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.