Jump to content

Adjust Images into Columns Mobile View

Recommended Posts

Site URL: https://www.aspireleadwell.com/services

I am trying to adjust the icon images on this page into two columns when viewed on mobile. I used this code but the last two icons are hanging.

Any idea how to adjust this code?

 

Current Code:
@media screen and (max-width:767px) {
  div#page-section-60615955e6fb7c423bfac5d6 .span-12 {
    .span-4 {
      width: 50% !important;
      float: left !important;
    }
  }58533662_ScreenShot2022-05-05at11_04_12PM.thumb.png.1c56a5414e877d2ba1902c7bd7bea64a.png1514365475_ScreenShot2022-05-05at11_03_52PM.thumb.png.891cabf0f2f48c8e4b3d2628fb481209.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

1 hour ago, mmejia08 said:

Site URL: https://www.aspireleadwell.com/services

I am trying to adjust the icon images on this page into two columns when viewed on mobile. I used this code but the last two icons are hanging.

Any idea how to adjust this code?

 

Current Code:
@media screen and (max-width:767px) {
  div#page-section-60615955e6fb7c423bfac5d6 .span-12 {
    .span-4 {
      width: 50% !important;
      float: left !important;
    }
  }58533662_ScreenShot2022-05-05at11_04_12PM.thumb.png.1c56a5414e877d2ba1902c7bd7bea64a.png1514365475_ScreenShot2022-05-05at11_03_52PM.thumb.png.891cabf0f2f48c8e4b3d2628fb481209.png

You can try the following code

@media screen and (max-width: 767px) {
  div#page-section-60615955e6fb7c423bfac5d6 .span-12 .span-4 {
    width: 100% !important;
    display: flex;
  }
  .image-block {
    width: 50%;
  }
}

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

My testing

image.thumb.png.82e3951080a3183f6317e0f8f9206f51.png

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

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.