How to Wrap Text Around an Image, Pt. 2How to Wrap Text Around an Image by Floating an Image Module Next to a Text Module in Divi
Wrapping Text by Floating an Image Module next to a Text Module in Divi
I was excited to learn this way of wrapping text because keeping your image in a module allows control over its styling without having to add inline styling or external css.
Create a new section with a single column row. Add an image module with an image of your choice.
Beneath, add a text module with your content.
Now, float the image to the left of the text module. Open the image module settings and add the following CSS to the Main Element.
Add custom margin to the image.
And voila! If you want to make the image right, replace the css accordingly, as well as the margin.
Was this blog helpful? Let us know in the comments below!