Divi Hacks Plugin

Examples & Documentation

Other Alignment

mobile-reverse

This class allows you to reverse the order of columns in a row on both tablets and phones.

Add mobile-reverse to the Row Settings > Advanced tab > CSS ID & Classes > CSS Class.

Here’s an example. This is a nice alternating column layout.

On a phone or tablet, this row will show the text first, and then the image.

By adding the class mobile-reverse to this row, the columns will be reversed on a mobile device (or when the screen size is reduced).

Test it out by resizing your browser window!

Now you don’t need to create duplicate rows and limit visibility on different devices.

full-height

This class allows you to set any element to be the full height of the browser window.

Add full-height to the Element’s Settings > Advanced tab > CSS ID & Classes > CSS Class.

full-height-minus-main-header

This subtracts the height of the #main-header

full-height-minus-main-footer

This subtracts the height of the #main-footer

full-height-minus-top-header

This subtracts the height of the #top-header

full-height-minus-both-headers

This subtracts the height of the #top-header and #main-header

Full Width Blog Posts by Default

This hack is a simple switch on/off.  It removes the sidebar from blog posts and makes the blog content full width

Equal Height Modules

This hack sets any number of elements to the height of the largest element of that same class. You can have up to 12 different groups of modules set at the same height as the other modules in that same set. Add one of the following classes to the modules that you want to be the same height.

equal-1
equal-2

equal-3
equal-4

equal-5
equal-6

equal-7
equal-8

equal-9
equal-10

equal-11
equal-12

Examples

equal-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

equal-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea.

equal-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.

equal-1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.

equal-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

equal-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea.

equal-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud.

equal-2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.