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

Adding a border to images in gallery


JohnCabal

Question

Site URL: https://ewgarts.com

Sorry, I know similar questions have been asked here before, but  the CSS code I've tried either does nothing, or doesn't produce the desired effect. I want to place a border around each image in my portfolio, say 3px, but not the captions. In the screenshot below, I show a CSS sample that only puts a border on the left and top - so is something getting clipped or overlayed?

border.png

Edited by JohnCabal
update
Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
On 10/16/2021 at 9:40 AM, JohnCabal said:

Site URL: https://ewgarts.com

Sorry, I know similar questions have been asked here before, but  the CSS code I've tried either does nothing, or doesn't produce the desired effect. I want to place a border around each image in my portfolio, say 3px, but not the captions. In the screenshot below, I show a CSS sample that only puts a border on the left and top - so is something getting clipped or overlayed?

border.png

Add to Design > Custom CSS

body.homepage .gallery-masonry .gallery-masonry-item-wrapper {
    border: 3px solid red;
}

 

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

Create an account or sign in to comment

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


×
×
  • Create New...