Jump to content

Reduce mobile block padding

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

Link to comment
  • Replies 5
  • Views 3k
  • Created
  • Last Reply
  • 8 months later...
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

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

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.