Jump to content

Resizing image block (HEIGHT ONLY) on mobile view

Recommended Posts

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

Hi all, 

I've been trying to resize three image blocks on the mobile view of my site, but I'm struggling! I would like to ONLY REDUCE THEIR HEIGHT, and I'm not sure whether that's actually possible. Does the height/width ratio stays the same or can it be modified?

This is how you see them in the desktop view:



This is the mobile view:


I would like each of the images to be 1/3 of their current height so even they are stacked on top of each other, they are still all visible at once and there's no need to scroll down. I've tried CSS code:

@media screen and (max-width: 640px) { 
#blockidnumber {
width: 80% !important;
margin: 0 auto;

which works fine to modify the width, but if I change the % in height and keep the same width, nothing happens.


Thanks in advance!!!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
section#my-work .image-inset {
    padding-bottom: 60% !important;


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.