Jump to content

Help! Add to Cart button position on mobile

Recommended Posts

Site URL: https://nikswami.com/test

Hi!

I recently signed up for Squarespace 7.1 - but I've noticed that when a product block is added to my site, the add to cart / purchase button goes too far to the right on a mobile screen (it actually cuts off).

Is there a CSS code or something that can fix this? I contacted Squarespace, and they confirmed the issue is in the template itself, but said they'll look into fixing it in a future release (no timeframe can be given).

If anyone can help, I'd really appreciate it - it seems bizarre that they can't fix a simple button position until a future release?!

***UPDATE*** I've found some code that moves the button to the middle...but the text doesn't move with it lol any ideas? Here's the code I used for the button:

.product-block {
    overflow: hidden;
}

Thanks
Nik

 

Button Screenshot.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Remove your code, add this to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.sqs-add-to-cart-button {
    min-width: unset !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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.