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

Image boarder on gallery images

Question

I want to add a small white outline to all of my gallery images that is offset so it appears on top of all of the images. With the code below I have been able to get it to work somewhat - the issue I am having with the gallery is that some of the outlines are getting cropped off with the images instead of aligning to the cropped square box. (see image). Any ideas on how I could get the outline to match up with the cropped box would be appreciated!

 

.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor[href] img {

cursor: pointer;

outline: #fff solid 3px;

outline-offset: -20px;

}

Screen Shot 2020-01-24 at 4.05.55 PM.png

Share this post


Link to post

2 answers to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...