Comments on: How to vertically align text & images in Divi https://diviengine.com/how-to-vertically-align-text-images-in-divi/ Boost the power of your Divi website Fri, 17 Nov 2023 12:28:54 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: Paul Middleton https://diviengine.com/how-to-vertically-align-text-images-in-divi/#comment-200951 Mon, 11 Jul 2022 09:38:09 +0000 https://diviengine.com/?p=217763#comment-200951 I like that this offers several methods, when most only offer method 1 as it’s by far the easiest and most common application.

It might be worth mentioning that method 2 also works for individual lements in a layout used in an archive loop in Divi Machine. I wanted to vertically center titles, regardless of whether they wrapped onto more than 1 line. This is complicated using the single layout of course, but method 2 did the trick.

I had to apply it in the Divi CSS rather than in the element itself, as the Post Title block defaults to H1, and I wanted it as H2, but it works beautifully with a custom class.

]]>