Created
June 4, 2024 00:48
-
-
Save Acephalia/0d9117474d9bd1fc98597eab24dbe7e2 to your computer and use it in GitHub Desktop.
Divi Vertical Centre Section, Row or Module
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
/* Vertically center rows in sections and modules in columns. Add class to Advance > CSS IDS & Classes > Class. For section : vsection | For row : vrow | for module : vmodule */ | |
.vrow .et_pb_column, | |
.vsection, | |
.vmodule { | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment