Jump to content

Help with Slideshow Gallery for mobile

Recommended Posts

21 hours ago, AFKSTue said:

This code does almost exactly what I need. I like that I can adjust the height on the mobile screen. The only problem is, the resized image is centered. But I would like the image on the left not to be cut off. It should be left aligned instead.

(The fading is part of the original banner image).

Like so:

Unbenannt-1.thumb.png.2d5bb3d248f8c419075d7ea6da84fb32.png

Link to the page: copper-minnow-p73t.squarespace.com

Password: hello

You can adjust 20%

<style>
  @media screen and (max-width:767px) {
    .gallery-fullscreen-slideshow {
    	height: 35vh !important;
    }
  .gallery-fullscreen-slideshow img {
    object-position: 20% 50% !important;
  }
  }
</style>

image.png.dccf5e90e6a74f003a484db64e212551.png

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
  • 3 months later...
12 hours ago, Leticia said:

Hi @tuanphan,

I am trying to reduce the size of the images (height and width) on mobile without keeping the same proportion and without leaving the blank margins. Tried all codes. Can you please help?

image.png.217190522030a15da7ecbaf3f03a45a0.png

image.thumb.png.3f7459c296c88545a72214c1c2adc422.png

https://seadragon-gold-ge8l.squarespace.com/contact 

Password sfera

You can add this to Custom CSS

@media screen and (max-width:767px) {
[data-section-id="658f038b85f1351316be12fe"] .gallery-reel {
    height: 10vh !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
  • 2 weeks later...
On 1/1/2024 at 3:25 AM, tuanphan said:

You can add this to Custom CSS

@media screen and (max-width:767px) {
[data-section-id="658f038b85f1351316be12fe"] .gallery-reel {
    height: 10vh !important;
}
}

 

Thanks a lot! Can I also ask if it is possible to leave the top menu bar transparent on the start page and solid white on the other pages?

Link to comment
12 hours ago, Leticia said:

Thanks a lot! Can I also ask if it is possible to leave the top menu bar transparent on the start page and solid white on the other pages?

Start page, you mean this page? https://seadragon-gold-ge8l.squarespace.com/?noredirect

Use this CSS code

body.homepage header#header {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !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.