Jump to content

Force 4 images (desktop) into 2 images tablet

Recommended Posts

  • Replies 4
  • Views 531
  • Created
  • Last Reply
Posted
11 hours ago, Begona said:

Site URL: https://bookythings2.squarespace.com/es/inicio

https://bookythings2.squarespace.com/es/inicio

password: booky

 

Hi!

Can someone help me force a 4 image row into 2 rows of 2 images for tablet?

See screenshot of section below:

serv.thumb.png.13408e006b8610408f93281c404961f3.png

 

Thank you!

 

 

try

@media only screen and (min-width: 640px) and (max-width: 1024px) {
    [id="es/servicios-editoriales"] .Index-page-content .sqs-layout .sqs-row:nth-child(2) .sqs-col-3 {
      width: 50%;
    }
}

image.png.fc95321bbccfdaa5317d69b22223971c.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

Thank you so much, @bangank36 

Looks great on the Tablet preview! However, when I check it on an actual Ipad the 2nd row doesn't display correctly 😞

Any idea why??

CC4E84F5-6A67-4ADC-A754-13D81CAA7563.thumb.png.f44ac80c3c7872c795af8ff273e60af3.png

 

Thank you!!

Posted
2 hours ago, Begona said:

Thank you so much, @bangank36 

Looks great on the Tablet preview! However, when I check it on an actual Ipad the 2nd row doesn't display correctly 😞

Any idea why??

CC4E84F5-6A67-4ADC-A754-13D81CAA7563.thumb.png.f44ac80c3c7872c795af8ff273e60af3.png

 

Thank you!!

try

@media only screen and (min-width: 640px) and (max-width: 1024px) {
    [id="es/servicios-editoriales"] .Index-page-content .sqs-layout .sqs-row {
      display: flex;
      flex-wrap: wrap;
    }
    [id="es/servicios-editoriales"] .Index-page-content .sqs-layout .sqs-row:nth-child(2) .sqs-col-3 {
      width: 50%;
    }
}

 

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.