Jump to content

Make BUTTON same width as product image on DESKTOP AND MOBILE

Go to solution Solved by Web_Solutions,

Recommended Posts

Try this Custom CSS:

body:not(.button-style-default) .sqs-add-to-cart-button, body.button-style-default .sqs-add-to-cart-button {
    max-width: 100%;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • Solution
1 hour ago, LucyBold said:

Hi @tuanphan!

I am referring the Add to Bag button in this page: https://www.lacalifornie.es

image.thumb.png.ed6cff60fc893b8f89e8719b892031e5.png

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.product-block .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button{
    display: block !important;
}

 

Screenshot_420.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.