Jump to content

Brine Template: Index Gallery Caption fit on mobile

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
  • Replies 2
  • Views 537
  • Created
  • Last Reply
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
      }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.