How do I centre this vertically

Page
https://affinityfitness.co.nz/?page_id=4299
password pass
Hi,
The page provided no longer exist. To center it vertically, you can try adding the code below in your row element’s Inline CSS field
display: flex;
align-items: center;
justify-content: center;
Hope that helps
No that didnt work
Password pass
https://affinityfitness.co.nz/fitness-classes-2/
How do you do it in the new element CSS fields?
Hello @VelocityWeb,
Please edit the page back in Cornerstone. Click the column. In the column settings, find the “Customize” tab and then insert this inline element css:
$el {
display: flex;
align-items: center;
justify-content: center;
}
We would loved to know if this has work for you. Thank you.
Ok did that and It didnt change
Hi,
Kindly remove the custom CSS then try adding a class(v-align) to your row elements

Then add this in Theme Options > CSS
.v-align .x-column
vertical-align: middle !important;
}
Hope that helps
No luck - Gap size 40% is working for me
Sorry top and bottom gaps 400px
Hi,
Sorry, there is a typo in the code I provided.
Please change this code
.v-align .x-column
vertical-align: middle !important;
}
to this (note: missing open curly bracket)
.v-align .x-column {
vertical-align: middle !important;
}
You need to remove the gap elements you have added
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.