Add Border to Divi Image Gallery Images

If you'd like to add a border to images in the Divi Theme's image gallery module (in grid view), you can do it like so:

/* Add a border to the images */
.et_pb_gallery_grid .et_pb_gallery_image 
{ 
    box-sizing:border-box;
    border:1px solid black; 
}

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.