Cornerstone / X-Theme / align center horizontal and vertical

Hi there,

is it possible to do the content on the hole website at middle, horizontal and vertical?

Thank you and best regards,

Hi Mark,

Thanks for reaching out. Yes, it’s doable, please add this CSS to your page builder’s CSS.

.x-root .site, .x-root .x-site {
    height: 100vh;
    align-items: center;
    justify-content: center;
    display: flex;
.x-main.full {
    width: 100% !important;

You can also check this as a reference for flex styling.


1 Like

Thank you again!
You are great - i love it.

Best regards,

You’re most welcome Mark!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.