Jump to content

Centering images in a two image column on mobile

Recommended Posts

  • Replies 3
  • Views 376
  • Created
  • Last Reply
14 minutes ago, P-Lato said:

I am trying to get this column to be centered on mobile... I have tried a couple different codes but it keeps coming out weird, and aligned to the left. Can you anyone help please?

 

 

IMG_9447.thumb.PNG.c1a0877c1b5c3920fabf0f9cc97c7f5a.PNG

What is your site url

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
11 hours ago, P-Lato said:

patrickpilato.ca, password: 123

You got an off layout on desktop so it would be tricky, here is the solution

@media only screen and (max-width: 768px) {
  div#page-section-60665fa5c883c56b5d5d2782>.row>.col>.row>.col:nth-child(3) {
    width: 75% !important;
  }
}

image.thumb.png.0066a6a9dc58c53d5195298ffe130655.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.