Jump to content

7.1 Image Collection Resize On Mobile

Recommended Posts

Site URL: https://www.endofanear.com

Good evening!

I'm having trouble with the CSS for this one.  I'm trying to adjust the size of these images + buttons on mobile - they're just too big, each filling the width of the entire screen. So, I'd prefer them to to sit in rows of three, similar to how they sit in rows of six on desktop.

Here's are images to better communicate what I'd like, the desktop view  vs the preferred mobile view :


DESKTOP VIEW             VS        MOBILE VIEW


Would this be possible? If so, can someone help me out with the CSS?

PAGE: https://www.endofanear.com/web-store

Thank you!

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-5ecc120f5e861630fffa13d8 {
.span-12>.row:nth-child(4) .span-2, .span-12>.row:nth-child(5) .span-2 {
    width: 33.33% !important;
    float: left !important;
.span-12>.row:nth-child(4) .span-2:nth-child(2n+1), .span-12>.row:nth-child(5) .span-2:nth-child(2n+1) {
	clear: left;
.span-12>.row:nth-child(4) .span-2 *, .span-12>.row:nth-child(5) .span-2 * {
    font-size: 10px;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Ah thank you very much, this looks very nice - but I'm sorry, though, I should've have been exactly specific about what I wanted haha.

I would like that multi-column effect for all of the images on the page, not just the last 12 images. The screenshots in my OP were just to show the idea.

Could this be done for the rest of the images on /web-store as well as the images on the front page this time, too?

I'm sorry again for the inconvenience,



Edited by robertwyatt
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.