Jump to content

Change gallery aspect ratio for mobile/ipad?

Recommended Posts

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

On 4/20/2021 at 2:11 AM, creativesurfing said:

Damn, sorry, all fixed it should work now. Thank you for looking

Still incorrect

qwert123

https://saffron-cone-7hws.squarespace.com/

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 4/22/2021 at 4:40 PM, creativesurfing said:

It’s the page called ‘projects’ - they are set to square but I’d like the option for them to be more landscape format on a phone if it’s possible?

Add to Design > Custom CSS

@media screen and (max-width:767px) {
.tweak-portfolio-grid-overlay-image-aspect-ratio-11-square .portfolio-grid-overlay .grid-image, .tweak-portfolio-grid-overlay-image-aspect-ratio-11-square .portfolio-grid-overlay .grid-item {
    padding-bottom: 75% !important; /* default is 100 */
}
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
7 hours ago, tuanphan said:

Add to Design > Custom CSS


@media screen and (max-width:767px) {
.tweak-portfolio-grid-overlay-image-aspect-ratio-11-square .portfolio-grid-overlay .grid-image, .tweak-portfolio-grid-overlay-image-aspect-ratio-11-square .portfolio-grid-overlay .grid-item {
    padding-bottom: 75% !important; /* default is 100 */
}
}

 

Amazing thank you, this is working perfectly!

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.