ProfessorSeagull Posted May 3, 2021 Share 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 Link to comment
creedon Posted May 4, 2021 Share Posted May 4, 2021 (edited) 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. Edited May 4, 2021 by creedon 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
ProfessorSeagull Posted May 4, 2021 Author Share 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. Link to comment
creedon Posted May 4, 2021 Share 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. tuanphan 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment