Jump to content

Adjust spacing between 'add to cart' button and up-sell product options on Mobile view only

Go to solution Solved by tuanphan,

Recommended Posts

Hi There

I have an issue with spacing between 'add to cart' button and the up-sell options on my product pages.  This is only happening on mobile view where the button is sitting on top of the up-sell options.  It is happening on every product page on mobile view where I have added some up-sell options.  Id really appreciate some help to adjust the spacing so that the 'add to cart' button sits above and not over the up-sell options.  Please see attached screen shot.

Thanks in advance

Sam

Screenshot2024-04-16at20_24_03.thumb.png.66f3d131e2da5e27f231e8bb8dcb62f7.png

Link to comment
  • Solution
On 4/20/2024 at 6:09 PM, Sam-Logie said:

Hi Tuanphan

Thanks for your reply.  This is the link to one of the products

https://samanthawade.co.uk/medik8/p/crystal-retinal-ceramide-eye

Desktop spacing is fine, its just mobile version that causing the issue.

Thanks

You can use this code to Website > Website Tools > Custom CSS to fix problem

@media screen and (max-width:767px) {
section.pdp-product-add-ons {
    margin-top: 50px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
4 minutes ago, tuanphan said:

You can use this code to Website > Website Tools > Custom CSS to fix problem

@media screen and (max-width:767px) {
section.pdp-product-add-ons {
    margin-top: 50px !important;
}
}

 

Hey Tuanphan

That worked perfectly! Thanks so much for your help as always.

Sam 

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.