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; }
Written by Dan Mossop
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; }
We may earn a commission when you visit links on our website.
Assigning unique CSS IDs to specific Divi Accordion items allows for precise control over styling, targeting, and linking within your page content. This ability is particularly useful when you want to apply custom designs or create anchor links to particular accordion...
Enabling swipe navigation in the Divi Gallery module's lightbox allows users to seamlessly browse through gallery images by swiping left or right, creating a more interactive and mobile-friendly experience. This functionality can significantly improve user engagement...
Control how images appear in your Divi Gallery module by toggling the slide-in animation effect for grid layouts. Disabling the slide-in animation allows gallery images to load instantly and appear statically, providing a faster and distraction-free browsing...
Displaying or hiding the image count in the Divi Gallery module’s lightbox can help customize the user experience, depending on whether you want to give visitors an indication of gallery progress or prefer a cleaner, distraction-free view. The ability to toggle this...
Displaying image titles in the lightbox overlay of the Divi Gallery module can sometimes be distracting or unnecessary, depending on your website’s design and user experience goals. Hiding these titles creates a cleaner and more focused viewing experience for visitors...
0 Comments