Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
rupert34

remove padding around images / image blocks

Recommended Posts

Hi There,

I'm new to squarespace, and find it pretty awesome, but there is one simple thing I just cannot figure out:

I would like to add an image within a container/element (ie a block) on a page, with the image automatically streching to full width of the browser, but without cropping any of the image width or height (like the banner background may do). I would then like to add another block with another image in the same manner, but without any gaps (ie a white border/padding) inside or between the blocks.

I've used this many times when building wordpress sites, etc, but have not been able to figure out how to do this in squarespace, even after extensive search....

Help would be highly appreciated!!!!

Many thanks....

remove_white_space.png

Edited by rupert34

Share this post


Link to post

Sorry, I can't share the link yet, as I'm still on a trial account...but I figured out what it was.

Even though I had removed all padding in the style settings, it kept a small margin at the bottom of each index page, don't know why.

But this css code gets rid of it:

.Index section:nth-child(2) {
   margin-bottom: -35px;
  }

Share this post


Link to post
5 hours ago, rupert34 said:

Sorry, I can't share the link yet, as I'm still on a trial account...but I figured out what it was.

Even though I had removed all padding in the style settings, it kept a small margin at the bottom of each index page, don't know why.

But this css code gets rid of it:

.Index section:nth-child(2) {
   margin-bottom: -35px;
  }

With trial plan, you can setup password & share url


Send me a message if you have any questions (free 10 minutes).

Don't send to forum message. I will check all questions via the link above

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...