How to center the form on the page


I’d like to center the “Login” form. Is it possible to do it via some custom CSS. I cannot achieve it by aligning the shortcode.

Thanks! :slight_smile:

Hi @jiks,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.

Admin Area -> Appearance -> Customize -> Sparkling Options -> Other -> Custom CSS

article#post-380 {
    display: table;
    margin: 0 auto;
    width: 315px;
    max-width: 100%;

Best Regards,

Thank you very much for your help!


You are most welcome here :slight_smile: