Jump to content

Different index-page thumbnail sizes on mobile

Recommended Posts

I want to have different sized thumbnail images on my index pages when visitors use a mobile.


Ideally the thumbnail images would scale down width and height at the same time as the size scaled down, instead of only scaling horizontally.


My website: www.leeburnett.co.uk



Documentary film-maker and photographer

Link to comment
  • Replies 1
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (max-width:900px) {
.homepage figure img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
.homepage article.index-item.has-item-image {
    height: 30vh;
@media screen and (max-width:640px) {
.homepage article.index-item.has-item-image {
    height: 22vh;



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


This topic is now archived and is closed to further replies.

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