Jump to content

Brine Template: Index Gallery Caption fit on mobile

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://whale-orange-bcz2.squarespace.com/

Site password: whaleorange

I'm trying to get the mobile layout on the /home page (https://whale-orange-bcz2.squarespace.com/home) to stretch the first gallery image to fit the entire caption so that I can display the gallery items as stacked AND have the caption be legible. As you can see on mobile, it cuts off the list of text. Essentially, I'm trying to emulate the /splash page on this site (https://whale-orange-bcz2.squarespace.com/splash), but I want it to be on an index page so I can have more page sections below it. Otherwise, I would just use the splash page (although I want the white section with text to load above the photo, not below).

If you know a better way to approach this that doesn't involve using a gallery, i'm open to that as well! I just want to get this done.

Thank you in advance for any help!

Link to comment
  • Solution
On 11/12/2020 at 4:46 AM, belhum said:

Site URL: https://whale-orange-bcz2.squarespace.com/

Site password: whaleorange

I'm trying to get the mobile layout on the /home page (https://whale-orange-bcz2.squarespace.com/home) to stretch the first gallery image to fit the entire caption so that I can display the gallery items as stacked AND have the caption be legible. As you can see on mobile, it cuts off the list of text. Essentially, I'm trying to emulate the /splash page on this site (https://whale-orange-bcz2.squarespace.com/splash), but I want it to be on an index page so I can have more page sections below it. Otherwise, I would just use the splash page (although I want the white section with text to load above the photo, not below).

If you know a better way to approach this that doesn't involve using a gallery, i'm open to that as well! I just want to get this done.

Thank you in advance for any help!

I suggest to make it 100% viewport on mobile

image.png.112bef43699429dc34b267763fde45aa.png

@media only screen and (max-width: 640px) {
      #collection-5fac58a28b82eb77cd318983 #new-gallery .Index-gallery-item {
        height: 100vh
      }
}

 

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.