Jump to content

Moving "add to cart" button on mobile view

Go to solution Solved by Beyondspace,

Recommended Posts

Im adding services to our sites store pages and noticed that the add to cart button is at the beginning on mobile view and at the ending on desktop. I want it to be at the end (with the variants) since we need the description to be before the add to cart button (Till Anmälan).

I saw that you can change the format to "half", "full", "wrap" or "simple" but that doesn't do the trick since it also changes the design of the font and the picture size of the product and also the view on desktop. 

I haven't added any code yet since im a little bit lost regarding what code will work. Would appreciate any help. 

site: https://giraffe-harmonica-sk3p.squarespace.com/config/

Skärmavbild 2022-12-05 kl. 13.03.25.png

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

 

Im adding services to our sites store pages and noticed that the add to cart button is at the beginning on mobile view and at the ending on desktop. I want it to be at the end (with the variants) since we need the description to be before the add to cart button (Till Anmälan).

I saw that you can change the format to "half", "full", "wrap" or "simple" but that doesn't do the trick since it also changes the design of the font and the picture size of the product and also the view on desktop. 

I haven't added any code yet since im a little bit lost regarding what code will work. Would appreciate any help. 

site: https://giraffe-harmonica-sk3p.squarespace.com/config/

Skärmavbild 2022-12-05 kl. 13.03.25.png

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px){
  .ProductItem-details .product-variants {
    order: 5;
  }
  .ProductItem-details .sqs-add-to-cart-button-wrapper {
    order: 6;
  }
}

Support me by pressing 👍 or marking as solution if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.8f70a825217927bff3b0506e3b194463.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.