Jump to content

view full banner image on mobile

Recommended Posts

Site URL: https://www.thisislandstudio.com

Hi there, on my homepage I have a gallery banner with rotating image slideshow at the top of the page. When viewed on mobile the crop doesn't work for all images - even when I adjust focal points for each image.

Is there code available so I can view the entire gallery banner image in full for mobile view? i.e so the banner image is not cropped on mobile?

Thanks for your help

A

Link to comment
  • Replies 2
  • Views 236
  • Created
  • Last Reply

Top Posters In This Topic

On 3/11/2022 at 3:03 AM, design123 said:

Site URL: https://www.thisislandstudio.com

Hi there, on my homepage I have a gallery banner with rotating image slideshow at the top of the page. When viewed on mobile the crop doesn't work for all images - even when I adjust focal points for each image.

Is there code available so I can view the entire gallery banner image in full for mobile view? i.e so the banner image is not cropped on mobile?

Thanks for your help

A

Add to Design > Custom CSS

/* Mobile resize slideshow */
@media screen and (max-width:640px) {
section#this-island-studio-showcase img {
    width: 100% !important;
    left: 0 !important;
    height: auto !important;
    top: 0 !important;
}
section#this-island-studio-showcase {
    height: 120px !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.