coja Posted January 6 Share Posted January 6 Hi there, my add to cart button looks obnoxiously big with the text being too small. Would someone please help me add additional CSS where I can change the button padding and font size within? And also how to change the slug from https://www.upbeatcoffee.com.au/shop/p/earth-sky-planter-4awkk-s85xf to https://www.upbeatcoffee.com.au/colddrip Many thanks!! Link to comment
Ziggy Posted January 6 Share Posted January 6 You can try adding this to your Custom CSS: .ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button { width: 50%; } This button is a "primary button" in the styles menu, so I suggest adjusting that font size and padding as well. You can't change the URL structure of a product page in that way. You could make a page with that URL and then add a product block to the page. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
coja Posted January 15 Author Share Posted January 15 (edited) Hi thanks for your reply ! I tried to apply it and checked but it made it better, but the padding is quite large. Here is a screenshot, sorry for the button not being in desktop view when opening the right Inspect panel - I am currently working on a laptop. The top-padding and bottom-padding doesn't seem to affect the Style. Quote .ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button { width: 50%; padding-top: 0.2em; padding-bottom: 0.2em; } Edited January 15 by coja Link to comment
tuanphan Posted January 18 Share Posted January 18 Add to Settings > Advanced > Code Injection > Header <style> div.sqs-add-to-cart-button { padding: 10px 20px !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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