maxmedia Posted March 14 Share Posted March 14 I am trying to customise the 'Product add-on' box to be similar in style to the 'Add to Cart' button ie make the Product add-on 'Name' and 'Price' font smaller and also the box it is in smaller. Additionally if it is possible to reduce the size of the thumbnail, even better. In this case the Product Add-on is 'Framing' https://www.aiacontemporary.com/store/p/tight-collar Link to comment
paramjeet.kour08 Posted March 14 Share Posted March 14 .product-details .pdp-product-add-ons .add-on-card { display: flex; align-items: center; border: 1px solid grey; padding: 16px; margin-top: 22px; flex-wrap: wrap; width: 211px; } past this code in custom css box Hi ! I am Paramjeet kaur Top rated SquareSpace Web Designer and Web Developer with SEO For Web Sites. Working Now As freelancer With lowest Rate. Rate $20 per hour. Till date, I have created over 300 + websites in Squarespace. Contact Me Email Link to comment
maxmedia Posted March 14 Author Share Posted March 14 (edited) Thank you for that, it's a welcome improvement. Is it possible to also reduce the the size of the circle button with the '+' ? Edited March 14 by maxmedia Link to comment
tuanphan Posted March 16 Share Posted March 16 On 3/14/2024 at 6:13 PM, maxmedia said: Thank you for that, it's a welcome improvement. Is it possible to also reduce the the size of the circle button with the '+' ? Use this CSS code .product-details .pdp-product-add-ons .add-on-add-to-cart-wrapper .sqs-add-to-cart-button { width: 30px !important; height: 30px !important; } svg.plus-icon { width: 9px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
marbleandmilkweed Posted June 30 Share Posted June 30 I find myself working on this, as well. I'm trying to make the product add-on card as thin as possible, with the thumbnail, the title/price and the + button lined up nicely from left to right, but the + button always seems to want to migrate to the bottom right, and the title/price gravitates towards top left, making the whole box bulkier than it needs to be. Trying to make everything centered between the top and bottom of the box, wondering if you might be able to help? Thank you as always for all your assistance! Link to comment
tuanphan Posted July 3 Share Posted July 3 On 6/30/2024 at 11:37 PM, marbleandmilkweed said: I find myself working on this, as well. I'm trying to make the product add-on card as thin as possible, with the thumbnail, the title/price and the + button lined up nicely from left to right, but the + button always seems to want to migrate to the bottom right, and the title/price gravitates towards top left, making the whole box bulkier than it needs to be. Trying to make everything centered between the top and bottom of the box, wondering if you might be able to help? Thank you as always for all your assistance! Can you share link to this product? We can check easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
marbleandmilkweed Posted July 15 Share Posted July 15 Oh dear, sorry for my very late reply, got a little sidetracked! This product is here: https://www.marbleandmilkweed.com/shop/p/roseandtulsifacialtonic-100ml Thank you again so much! Link to comment
tuanphan Posted July 19 Share Posted July 19 On 7/16/2024 at 2:08 AM, marbleandmilkweed said: Oh dear, sorry for my very late reply, got a little sidetracked! This product is here: https://www.marbleandmilkweed.com/shop/p/roseandtulsifacialtonic-100ml Thank you again so much! You can use this CSS to Custom CSS box .add-on-add-to-cart-wrapper.sqs-add-to-cart-button-wrapper { margin: 0px !important; } .product-details .pdp-product-add-ons .add-on-card:first-of-type { padding-top: 2px !important; padding-bottom: 2px !important; } .product-details .pdp-product-add-ons .add-on-details .product-price { margin: 0px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
marbleandmilkweed Posted July 21 Share Posted July 21 This worked brilliantly, thank you so much! Is there a way at all to add a title to the product add-ons section? Just one line of text above the add-on cards? Many thanks, as always for your kind help! Link to comment
tuanphan Posted July 25 Share Posted July 25 On 7/21/2024 at 11:25 PM, marbleandmilkweed said: This worked brilliantly, thank you so much! Is there a way at all to add a title to the product add-ons section? Just one line of text above the add-on cards? Many thanks, as always for your kind help! You can use this CSS code #page .ProductItem-details-checkout .pdp-product-add-ons>div:first-child:before { content: "here is addong products"; position: absolute; top: 0; font-size: 30px; left: 0; } #page .ProductItem-details-checkout .pdp-product-add-ons { position: relative; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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