Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Add to Cart position on desktop is off center


shadybyjay

Question

Hi!

I recently signed up for Squarespace 7.1 - i'm still creating my site and noticed that when a product block is added to my site, the add to cart / purchase button goes too far to the right on.

I used a CSS code to fix the mobile version from another post but I need to fix the issue on my desktop view as well.

If anyone can help, I'd really appreciate it

Screen Shot 2020-07-19 at 12.31.48 PM.png

Link to post
  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

11 answers to this question

Recommended Posts

  • 1

I'm not at my computer to check, but I copied and pasted that and didn't edit. I think it should have been width not min-width.

Link to post
  • 0

Thank you @rwp 

I think it was @tuanphan

the code is 

@media screen and (max-width:767px) {
.sqs-add-to-cart-button {
    min-width: unset !important;
}
}

 

It fixed the mobile format of the add to cart button but not on desktop. Im not sure where to put the code from  jQuery 3.x there are only header and footer options on code injection and I dont need the add to cart button in the header or footer just on the product page. 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...