ProfessorSeagull Posted May 3, 2021 Posted May 3, 2021 Site URL: https://www.sfsmartshop.com Hello I am trying to integrate with foxycart, and need to remove my add to cart button from each product. I tried the suggested code on other posts, .sqs-add-to-cart-button-wrapper {display:none !important;} .product-quantity-select { display:none !important;} But it doesn't seem to have any effect. Thanks in advance for your help
creedon Posted May 4, 2021 Posted May 4, 2021 Where did you install the code? I don't see it. If you installed then removed, please put it back so we can see why it's not working. 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.
ProfessorSeagull Posted May 4, 2021 Author Posted May 4, 2021 15 hours ago, creedon said: Where did you install the code? I don't see it. If you installed then removed, please put it back so we can see why it's not working. Hey sorry I had added and removed. I have now added the code to the design-Custom CSS. Thank you for your help.
creedon Posted May 4, 2021 Posted May 4, 2021 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.