Jump to content

Reducing Section Padding

Recommended Posts

Posted

Site URL: http://www.faisalalmutairi.com

Hi. I have this code block that runs loop video. On desktop spacing is perfect, however on mobile it is extremely wide as you can see in the pictures I attached. Is there a way around it? Thanks. Faisal.

website1.png

website2.png

  • Replies 5
  • Views 664
  • Created
  • Last Reply
Posted

Hey @longstrider28 please add next code in Custom CSS:

@media screen and (max-width: 767px) {
  .gallery-masonry[data-width="inset"] {
    padding-top: 0;
  }
}

 

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Posted
14 minutes ago, SquareRefresh said:

Hey @longstrider28 please add next code in Custom CSS:

@media screen and (max-width: 767px) {
  .gallery-masonry[data-width="inset"] {
    padding-top: 0;
  }
}

 

Worked perfectly. Thank you so much.

Posted
1 hour ago, SquareRefresh said:

Hey @longstrider28 please add next code in Custom CSS:

@media screen and (max-width: 767px) {
  .gallery-masonry[data-width="inset"] {
    padding-top: 0;
  }
}

 

One more thing please. Would you mind helping with this as well? With the Image Block there is big gap below it (check the image I attached). Thanks.

websitex.png

Posted
1 hour ago, longstrider28 said:

One more thing please. Would you mind helping with this as well? With the Image Block there is big gap below it (check the image I attached). Thanks.

Just replace to:

@media screen and (max-width: 767px) {
  .gallery-masonry[data-width="inset"] {
    padding-bottom: 0;
    padding-top: 0;
  }
}

 

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Posted
37 minutes ago, SquareRefresh said:

Just replace to:

@media screen and (max-width: 767px) {
  .gallery-masonry[data-width="inset"] {
    padding-bottom: 0;
    padding-top: 0;
  }
}

 

Thank you.

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.