Jump to content

Help with images layout on Mobile device

Go to solution Solved by Beyondspace,

Recommended Posts

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

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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.😟

Link to comment
  • Solution
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

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
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!

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.