Jump to content

padding around images

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Did you add to Custom CSS or Page Header?

If you add to Custom CSS, it will affect all image blocks on your site.

add to Page Header, it affects on that page only

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

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

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.