Jump to content

Position of gallery captions on mobile (7.0)

Recommended Posts

Site URL: https://dtvgroup.squarespace.com/humanitarian

Hi, I would like to change the position of the video titles caption on mobile gallery.

It is currently positioned on top left but on mobile it appears almost in the middle of the image. I would like it to appear much closer to the top, so it doesn't cover key elements of the thumbnails.

Does anyone know how to adjust this in CSS?

Many thanks!

Screenshot 2021-01-22 at 12.31.59.png

Link to comment
2 hours ago, TheHouseOfMischief said:

Site URL: https://dtvgroup.squarespace.com/humanitarian

Hi, I would like to change the position of the video titles caption on mobile gallery.

It is currently positioned on top left but on mobile it appears almost in the middle of the image. I would like it to appear much closer to the top, so it doesn't cover key elements of the thumbnails.

Does anyone know how to adjust this in CSS?

Many thanks!

Screenshot 2021-01-22 at 12.31.59.png

Try this in Design->Custom CSS


@media only screen and (max-width: 600px) {
      .tweak-index-gallery-content-position-top-left .Index-gallery-item-content, .tweak-index-gallery-content-position-top-center .Index-gallery-item-content, .tweak-index-gallery-content-position-top-right .Index-gallery-item-content {
          margin-top: 0;
      }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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
42 minutes ago, bangank36 said:

Try this in Design->Custom CSS



@media only screen and (max-width: 600px) {
      .tweak-index-gallery-content-position-top-left .Index-gallery-item-content, .tweak-index-gallery-content-position-top-center .Index-gallery-item-content, .tweak-index-gallery-content-position-top-right .Index-gallery-item-content {
          margin-top: 0;
      }
}

 

Thank you very much for your fast response!

I'd like to have a gap between the top of the image and the title caption. I have tried by changing the value margin-top, but even if I have it as 1, it pushes the caption in the middle of the image. How can I tweak that? 

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.