Jump to content

Resize image blocks for mobile

Recommended Posts

Posted

Site URL: http://www.marenberg.dk

Hi! I have a sizing issue on mobile that I would like to fix.

The image blocks on desktop look great but when these resize for mobile, they are too large. How can I make the image block (icons) smaller for mobile view?

See attached screenshots to see whats happening.

Screenshot 2022-02-22 at 11.11.07.png

Screenshot 2022-02-22 at 11.11.21.png

  • Replies 3
  • Views 778
  • Created
  • Last Reply

Top Posters In This Topic

Posted
11 minutes ago, Marenberg said:

Site URL: http://www.marenberg.dk

Hi! I have a sizing issue on mobile that I would like to fix.

The image blocks on desktop look great but when these resize for mobile, they are too large. How can I make the image block (icons) smaller for mobile view?

See attached screenshots to see whats happening.

Screenshot 2022-02-22 at 11.11.07.png

Screenshot 2022-02-22 at 11.11.21.png

 

15 minutes ago, Marenberg said:

Site URL: http://www.marenberg.dk

Hi! I have a sizing issue on mobile that I would like to fix.

The image blocks on desktop look great but when these resize for mobile, they are too large. How can I make the image block (icons) smaller for mobile view?

See attached screenshots to see whats happening.

Screenshot 2022-02-22 at 11.11.07.png

Screenshot 2022-02-22 at 11.11.21.png

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  section[data-section-id="61b485080db3997c98010d61"]  .sqs-layout > .row > .col >  .row > .col {
    width: 30% !important;
  }
  section[data-section-id="61b485080db3997c98010d61"]  .sqs-layout > .row > .col >  .row {
    display: flex;
    justify-content: space-between;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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

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.