Skip to content

Instantly share code, notes, and snippets.

@sisaacrussell
Last active October 18, 2018 07:56
Show Gist options
  • Save sisaacrussell/690eabd9ffaf5f4f8d9750502b7d6436 to your computer and use it in GitHub Desktop.
Save sisaacrussell/690eabd9ffaf5f4f8d9750502b7d6436 to your computer and use it in GitHub Desktop.
Vertically align Divi modules within a row using a custom class
/*
* 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