Jump to content

How to change spacing between image and caption on gallery slideshow in mobile view

Go to solution Solved by tuanphan,

Recommended Posts

Hi! The desktop view of the gallery slideshow with captions is working great, but in mobile view the spacing between the image and caption is way to big, but I am unable to change this. Here is a screenshot of desktop and mobile view. Does anyone know CSS code to edit this only on mobile? Thanks!

 

Screenshot 2024-04-17 at 11.07.08 AM.png

Screenshot 2024-04-17 at 11.07.50 AM.png

Link to comment
  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
On 4/20/2024 at 5:01 AM, Alexi47 said:

@tuanphan sure! here is a link https://leba-marquez-photography.squarespace.com/
password: LEBA24!

You can use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
[data-section-id="662009942cca6a43d52d02b8"] .gallery-slideshow {
    height: 30vh !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.