Jump to content

Reduce mobile block padding

Go to solution Solved by erika_barichello,

Recommended Posts

Hi,

I'm trying to reduce padding on blocks for mobile only. There's a standard 40px 60px; added to all blocks which I can seem to reduce with the following code, but there's other padding that still contributes to a lot of white space


@media only screen and (max-width: 640px){
.Index-page-content {
   padding-bottom: 20px;
   padding-top: 20px;
     }
     }

URL www.rejectsupply.com Test123

screenshot-2019-09-26-at-141420.png.d8001656c0a2eb5a62c47362e443694c.png

Edited by olipowell
URL
Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 8 months later...

Im having the same issue.... 

 

@media only screen and (max-width: 640px){
.Index-page-content {
   padding-bottom: 0px;
   padding-top: 0px;
     }
     }

 

That worked but didn't fully get rid of the spacing at least on my end...

Link to comment
4 hours ago, NELLY said:

Im having the same issue.... 

 


@media only screen and (max-width: 640px){
.Index-page-content {
   padding-bottom: 0px;
   padding-top: 0px;
     }
     }

 

That worked but didn't fully get rid of the spacing at least on my end...

If you share link to your site, we can take a look

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.