Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Reduce mobile block padding


olipowell

Question

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
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

5 answers to this question

Recommended Posts

  • 0

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
  • 0
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

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