Jump to content

How do I decrease the padding within an Image block?

Recommended Posts

  • Replies 4
  • Views 603
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Here is the start to an effect. Add the following to Design > Custom CSS.

#block-yui_3_17_2_1_1639605741067_4737 .image-block-outer-wrapper:not( .image-block-v2 ) .image-block-wrapper img {

  height : 50% !important;
  width : 50% !important;
  
  }

You'll probably want to end up using a media query to adjust the size differently at different screen widths. I suggest getting the effect to work with the code above on desktop the way you want and then go from there.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.