Jump to content

Help with images layout on Mobile device

Go to solution Solved by Beyondspace,

Recommended Posts

Posted

Site URL: https://adicovintage.com.au/

Hi I am just after some help

I have added a section with images and a link on my website. They are the perfect size when on my laptop or computer. They also have the faded grey when you hover over which is what I want.

My problem is that on mobile devices they are coming out like this on mobile:

271536679_988548245082047_5801963156771761480_n.thumb.jpg.d2069538617fa06ba7f28546af207afe.jpg

Just so big and taking way too much space. It looks real ugly.

I want the 4 of them to look like this on the mobile (this was done with gallery selection). In a group of 4 neatly spaced and perfect size.

271524935_430152815514609_2394242548464002383_n.thumb.jpg.6158ab98137bff0dfe477a91b0a049e9.jpg

Any assistance will be really appreciated!

 

271524935_430152815514609_2394242548464002383_n.jpg

  • Replies 5
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted
3 hours ago, bangank36 said:

I try the following code and it fixes for the first section

@media only screen and (max-width: 767px) {
  section[data-section-id="60d42efe808384202ace9c66"] {
    height: 77vh; 
  }

  section[data-section-id="60d42efe808384202ace9c66"] .section-background {
    height: 0;
    padding-bottom: 100%;
    margin-top: 134.75px;
  }
  section[data-section-id="60d42efe808384202ace9c66"] .section-background img{
    height: auto !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Thank you for sending that but that did not work.😟

  • Solution
Posted
6 hours ago, Domenic said:

Thank you for sending that but that did not work.😟

Sorry for misunderstand, you can try the following code

@media only screen and (max-width: 767px) {
  section[data-section-id="61ee26f985cdd239889af3b7"]   .sqs-layout  > .row > .col {
    width: 50% !important;
    float: left !important;
  }

  section[data-section-id="61ee26f985cdd239889af3b7"]   .sqs-layout  > .row > .col  > .sqs-block {
    padding: 2px !important;
  }
}

Let me know how it works on your site

 

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
7 hours ago, bangank36 said:

Sorry for misunderstand, you can try the following code

@media only screen and (max-width: 767px) {
  section[data-section-id="61ee26f985cdd239889af3b7"]   .sqs-layout  > .row > .col {
    width: 50% !important;
    float: left !important;
  }

  section[data-section-id="61ee26f985cdd239889af3b7"]   .sqs-layout  > .row > .col  > .sqs-block {
    padding: 2px !important;
  }
}

Let me know how it works on your site

 

Thank you for this, works perfect!

  • 1 year later...
Posted

Hi there, I have a similar issue! My URL is www.alexiademicheli.com - I designed the site on my 13" Mac, but when looking at it on my iMac it looks horrid. Which codes can I use to limit max width on bigger screens (iMac) and smaller screens (phone)? Thank you!

Posted
On 9/26/2023 at 6:16 PM, AlexiaD said:

Hi there, I have a similar issue! My URL is www.alexiademicheli.com - I designed the site on my 13" Mac, but when looking at it on my iMac it looks horrid. Which codes can I use to limit max width on bigger screens (iMac) and smaller screens (phone)? Thank you!

You use new editor, so we can use CSS code to adjust on smaller screen or any screen where you have problem. Can you send some screenshots of problem?

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!)

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.