Jump to content

How to remove top/bottom padding from Gallery-Strips in Mobile View

Recommended Posts

Site URL: https://bounthavong.com/

Hello, I am trying to remove the top and bottom gaps between Gallery-Strips that appear only when in Mobile View. 

I have tried adding the following css code but it does not seem to work:

@media screen and (max-width:640px) {
.gallery-strips {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
}

Any help would be super appreciated! 

 

Thx very much! squarespace_question_00.thumb.jpg.eaa021b3c3e8aa986bfaa4d82475a589.jpg

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 5/14/2022 at 1:02 AM, CARN3_ASADA said:

Site URL: https://bounthavong.com/

Hello, I am trying to remove the top and bottom gaps between Gallery-Strips that appear only when in Mobile View. 

I have tried adding the following css code but it does not seem to work:

@media screen and (max-width:640px) {
.gallery-strips {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
}

Any help would be super appreciated! 

 

Thx very much! squarespace_question_00.thumb.jpg.eaa021b3c3e8aa986bfaa4d82475a589.jpg

You can try

@media only screen and (max-width: 767px) {
  #collection-5e82dc9205dc426d6194f7b9 .gallery-section-wrapper, #collection-5e82dc9205dc426d6194f7b9 .gallery-section-wrapper > .gallery  {
    min-height: unset !important;
  }
}

Let me know how it works on your site

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.d79e0a484a36a8f5118ff87322f7de2a.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.