Jump to content

Increase space between blocks on mobile product page

Go to solution Solved by Ziggy,

Recommended Posts

Hi there, 

I'm setting up a small e-commerce for my company website (Business plan), and I added some blocks on the "additional info" option in the product settings.

 

It looks fine on website, but on mobile, as I found out, spacers are not displayed (https://support.squarespace.com/hc/en-us/articles/206566717-Spacer-blocks#:~:text=Spacer blocks placed above)

Is there a way to increase space between blocks on mobile, for all product pages ?

image.thumb.png.1bb887c9069c91c5061f5739f5cb6b30.png

 

Site url https://labise.squarespace.com/lechoppe/p/lampe-2
Password : labisestore

 

Thanks !

Link to comment
  • Solution

Try adding this code to your store page settings Header Code Injection:

<style>
.sqs-block {
    padding-top: 42px;
    padding-bottom: 42px;
}
</style>

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • 2 weeks later...
15 minutes ago, Margaux said:

Your code seems to be working perfectly, thank you very much !

Excellent!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.