Last active
October 18, 2018 07:56
-
-
Save sisaacrussell/690eabd9ffaf5f4f8d9750502b7d6436 to your computer and use it in GitHub Desktop.
Vertically align Divi modules within a row using a custom class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Custom class to vertically align modules within a row | |
* Add to Custom CSS tab of module within the page | |
*/ | |
.ds-vertical-align { | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
} | |
.ds-bottom-align { | |
display: flex; | |
flex-direction: column; | |
justify-content: flex-end; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment