Jump to content

How Do I change the padding of the elements of the product page on Mobile Version?

Recommended Posts

  • Replies 7
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
/* space title - image */
figure.ProductItem-gallery {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}
.ProductItem .ProductItem-details h1.ProductItem-details-title {
    padding-top: 0;
    margin: 0 !important;
}
/* button description */
.ProductItem-details .sqs-add-to-cart-button-wrapper {
    margin: 0;
}
/* button price */
.ProductItem-details .ProductItem-product-price {
    margin: 0;
}
}

 

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
  • 2 years later...
On 4/24/2023 at 7:59 AM, rachella said:

Hello! I'm trying to reduce the space on my product page (mobile view). I want to reduce the space between price & button, and also reduce space between button and description.

Are you able to help with the code?

 

Thanks!

Screenshot 2023-04-24 at 8.17.18 am.png

Can you share link to this product?

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

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.