Jump to content

padding around images

Recommended Posts

  • Replies 6
  • Views 287
  • Created
  • Last Reply

If  tried to use the code for mobile but it puts varying spaces between the images. Do you know why by any chance @tuanphan

@media only screen and (max-width: 450px)  {
  .image-block {
    padding: 8px 12px !important;

i put different numbers  as just one number changed the outside margin too. tried also using margin-bottom but that produced a similar result.

I'd be so grateful for any further help!


Link to comment

I added it to custom css. In this case I want it to affect all pages. Did you see my question above? I really don't understand what exactly is happening on mobile but the spaces aren't the same there and I have no idea what to do differently. If I take out the code that you sent me the spaces are the same but too large of course...

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.