Jump to content

Make Homepage Carousel Adjust to Mobile

Go to solution Solved by tuanphan,

Recommended Posts

Hey There - I've just built a new site and am using a 5 image carousel as the first point of impact on the site. 

Two Things I want to fix: 

1) Can I remove the responsive design for only this block on Web? Basically, I don't want the images to crop on the left and right based on the size of the window. I'd like them to remain full bleed width as text is designed inside the image. The height of the image can crop if needed, but I can also design the image assets to all be the same height as well. 

2) On Web, the carousel is full bleed and looks great. On Mobile, the carousel crops the images to portrait (no good for my vision). I'd like the carousel to simply appear in landscape in the same aesthetic as the web experience (e.g. just smaller landscape images that bleed the screen left to right). 

Anyone have some Custom CSS hack for this? 

Screen Shot 2022-10-27 at 1.36.15 PM.png

Screen Shot 2022-10-27 at 1.36.34 PM.png

Screen Shot 2022-10-27 at 1.37.02 PM.png

Link to comment
  • Replies 5
  • Views 817
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 11/8/2022 at 5:13 AM, MrJoshGreenberg said:

Yes @tuanphan - apologies, added on the entry, but didn't carry to the post: 

www.onpeppermill.com

 

*Update: I think I just want the carousel to scale down with any window size, including mobile...

Add to Design > Custom CSS

/* resize carousel */
@media screen and (max-width:991px) {
.gallery-fullscreen-slideshow {
    height: 35vh !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.