Jump to content

How to add a graphic border/frame to a gallery and/or image block?

Recommended Posts

Is it possible to add a graphic border/frame to the bottom of a gallery and/or image block?  See example screen shot of my unpublished site in the works.  I would like to add a banner border to the bottom of the image (slideshow) as circled in red.  That same slideshow repeats on all pages across the site and I would like for the banner border to appear on all the pages.  

screencap.JPG

Link to comment
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

3 hours ago, Mas143 said:

It is not yet published nor do I want it to be until it is fully ready.

You can setup password & share url

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

Hi Creedon - That works fine and that is the exact location I would like to have a border but I would like the border to be an image instead of a solid colored line.  I'd like to use an image similar to this one attached (but this likely is not necessarily the exact one I will end up going with). 

flagspng.png

Link to comment

It's a little bit tricky working with border images but it can be done.

1285567259_ScreenShot2021-02-04at3_32_52PM.thumb.png.17f6a2cce4b09865110d2cb6455dc9ae.png

You really need to nail down the exact image you want to use because it will probably need to be prepped with some image processing to be useable.

In general though something like the following CSS would be used.

.gallery-section:first-child .content-wrapper {

  border-bottom : 132px solid;
  
  border-image-source : url( https://images.squarespace-cdn.com/content/5f45b6f91dc07d67fcb6905c/1612479768148-XJU8BSTGWTMLNNPSZOC4/flagspng.thumb.png );
  
  border-image-repeat : repeat;
  
  border-image-slice : 0 0 132 0;
  
  }

This is for a v7.1 site.

Don't depend on the image url in the CSS being around. It's just an example I threw together.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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.