Make button appear in centre of page

Hi there,

Can you please tell me how I can make the “Sign up” button appear in the centre on this page:

I want the body of text above it to stay left aligned.

Many thanks.

Hey there,

Thanks for writing in! Just give your Sign Up button a class e.g centered-button and then add the following code in the Theme Options > CSS:

.centered-button {
    left: 50%;
    transform: translateX(-50%);
}

Here is a great article that you can read about centering element https://css-tricks.com/centering-css-complete-guide/

Cheers!

1 Like

Great - it’s worked perfectly. Thank you for your help.

You’re most welcome!

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