Increase Gap below Post Subheadings on Mobiles

The Divi Theme gives subheadings in posts (i.e <h2> tags) a bit of bottom padding (10px) to provide space between them and the text that follows. However, on small device widths, Divi reduces this bottom padding to zero. This means that there is very little...

Open Featured Images in a Lightbox

The Divi Theme can display a featured image at the top of posts. By default this is a static, non-clickable image. But what if you want to be able to click on the featured image and view the original (full-size) image in a lightbox? Here's how you can do it. Open...

Password Protecting a Page / Post in Divi

WordPress allows a password to be set for pages and posts. When a password is set, users will only see the content once the password has been correctly entered. Here's how to set that password when using the Divi Theme. Set Password in the Block Editor To set a...