Jump to content

Make Carousel Gallery Have Portrait and Landscape Photos

Recommended Posts

Hi! 

I am working on a photographer's website. She has a banner at the top of her page that is a carousel gallery block, rotating through her work. I've set image crop to 3:2 because I want the photos to stretch to fit the entire block, but I'd love to be able to have a rotation of landscape and portrait photos (3:2, or 2:3, depending on the photo). Does anyone know a work around to make this happen?

Website: alyssawright.squarepace.com

password: hello

Link to comment
  • Replies 6
  • Views 262
  • Created
  • Last Reply

Top Posters In This Topic

With second image, you try adding to Design > Custom CSS

.user-items-list-item-container[data-section-id="646784594375846fc362f0b8"] li:nth-child(2) .user-items-list-carousel__media-inner {
    padding-bottom: 150% !important;
}

Repeat similar for other images, just replace number 2 in nth-child(2)

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.