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

Change gallery aspect ratio for mobile view


sambarnes

Question

Site URL: https://www.snjc.world/

Hello!

I've set my aspect ratio setting at 55 for my gallery, wich looks just like I want on desktop version but when going in mobile view it looks way to small so I'd would like to increase it to 155 (so using a @media only screen and (max-width: 640px) or something like that). I can't find the css line that affects the aspect ratio of the gallery though.. Can someone help me out with that one ?

Thank you!

Capture d’écran 2021-03-07 005640.png

Link to comment

6 answers to this question

Recommended Posts

  • 0
6 hours ago, sambarnes said:

Site URL: https://www.snjc.world/

Hello!

I've set my aspect ratio setting at 55 for my gallery, wich looks just like I want on desktop version but when going in mobile view it looks way to small so I'd would like to increase it to 155 (so using a @media only screen and (max-width: 640px) or something like that). I can't find the css line that affects the aspect ratio of the gallery though.. Can someone help me out with that one ?

Thank you!

Capture d’écran 2021-03-07 005640.png

I think custom css can help in this case, would you mind to send the site url to check?

Greeting, it's BaNgan from 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, Youtube Gallery for Squarespace
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
  • 0
12 hours ago, sambarnes said:

Sure, it's for the gallery on the main page of this website: https://www.snjc.world/

Thank you for your help!

this image with different ratio?

image.thumb.png.38c88988fa958da8133eea4e3c1789d0.png

Greeting, it's BaNgan from 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, Youtube Gallery for Squarespace
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
  • 0

Yes! But I found a solution that works in the meantime; here is the code I use

@media screen and (max-width: 640px) {
.tweak-index-gallery-layout-slideshow .Index-gallery-wrapper:after {
  padding-bottom: 155% !important;
}
}

 

Link to comment
  • 0
On 3/8/2021 at 7:41 PM, sambarnes said:

Yes! But I found a solution that works in the meantime; here is the code I use


@media screen and (max-width: 640px) {
.tweak-index-gallery-layout-slideshow .Index-gallery-wrapper:after {
  padding-bottom: 155% !important;
}
}

 

On Tablet, I see huge space here.. Do you want to fix this?

image.thumb.png.f3bf5041c952cdbdd90264b4ebdf2e09.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

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