Add Border to Divi Image Gallery Images

This post may contain referral links which may earn a commission for this site

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; 
}

Hundreds of new features for Divi
in one easy-to-use plugin

0 Comments

Submit a Comment

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