khs123 Posted June 24, 2021 Share Posted June 24, 2021 I've used the following code to reduce the size of my 'Add to cart' button: .sqs-add-to-cart-button { width: 25% !important; } However, when I click 'Add to cart', the preceding 'Adding', 'Added' and 'Added to cart' buttons are super narrow, so the text can't be read: Is there a way to code the button, so it only resizes the initial 'Add to cart', but not the preceding ones? Link to comment
tuanphan Posted June 28, 2021 Share Posted June 28, 2021 Can you share link to a product page? We can help easier 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
khs123 Posted June 29, 2021 Author Share Posted June 29, 2021 I've realised you can set this via the Product Format popup (Form Width value), so am no longer using css. Thanks though. Link to comment
JanaK Posted November 30, 2021 Share Posted November 30, 2021 Hi, I'm having the same issue on my product pages. On mobile view, the first add-to-cart button looks super narrow and the second one looks normal. When I apply code then it changes both buttons, so the second one turns out too big. Can you help me with changing the size of the first one? I'd like to apply this to all my product pages. Website: https://hallogermany.com/services-for-internationals/p/career-coaching Link to comment
tuanphan Posted December 1, 2021 Share Posted December 1, 2021 21 hours ago, JanaK said: Hi, I'm having the same issue on my product pages. On mobile view, the first add-to-cart button looks super narrow and the second one looks normal. When I apply code then it changes both buttons, so the second one turns out too big. Can you help me with changing the size of the first one? I'd like to apply this to all my product pages. Website: https://hallogermany.com/services-for-internationals/p/career-coaching Add to Design > Custom CSS /* Mobile add to cart */ @media screen and (max-width:767px) { .sqs-add-to-cart-button-wrapper { width: 70% !important; } } 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
JanaK Posted December 7, 2021 Share Posted December 7, 2021 On 12/1/2021 at 12:02 PM, tuanphan said: Add to Design > Custom CSS /* Mobile add to cart */ @media screen and (max-width:767px) { .sqs-add-to-cart-button-wrapper { width: 70% !important; } } Thanks Tuanphan! This worked like a charm. Link to comment
tuanphan Posted December 11, 2021 Share Posted December 11, 2021 On 12/7/2021 at 6:05 PM, JanaK said: Thanks Tuanphan! This worked like a charm. Just discover, the button on tablet doesn't look good, so you can use this new code /* Mobile Tablet add to cart */ @media screen and (max-width:991px) { .sqs-add-to-cart-button-wrapper { width: 70% !important; } } (I changed 767px to 991px) 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
garlandehaney Posted November 9 Share Posted November 9 @tuanphan I'm having a similar issue to the first comment on this thread - after I click the 'place an order' button, it reduces in size (see before and after screenshots attached). As well, I have a custom order form that comes up for these products, and the 'place an order' button on the form doesn't have an outline (I'd like it to look the same as the original button, with a simple 1px black outline). Are you able to help? Thanks so much, Garlande Link: https://plum-furniture.squarespace.com/furniture/p/the-sandra-napper Pw: plum Link to comment
tuanphan Posted November 12 Share Posted November 12 On 11/9/2023 at 9:38 PM, garlandehaney said: @tuanphan I'm having a similar issue to the first comment on this thread - after I click the 'place an order' button, it reduces in size (see before and after screenshots attached). As well, I have a custom order form that comes up for these products, and the 'place an order' button on the form doesn't have an outline (I'd like it to look the same as the original button, with a simple 1px black outline). Are you able to help? Thanks so much, Garlande Link: https://plum-furniture.squarespace.com/furniture/p/the-sandra-napper Pw: plum I see you figured it out? It looks fine to me 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