Margins on pages not in Cornerstone

I’m using the Pro theme.
I have created a page and password-protected it using the default WordPress password protection option.

The login forms appears on the page with no left margin. However, once the visitor logs in, the margins of the content controlled by Cornerstone is fine.

How do I adjust the margin for the login form?

Hi Dannette,

Thank you for reaching out to us. It sound like you’re using a No Container page template. You can fix this by adding the following code in the Cornerstone’s CSS section:

form.post-password-form {
    width: 88%;
    margin: 20px auto;
    max-width: 1200px;
}

Please note that the code provided above serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope and for further maintenance for new possible versions of the theme that may cause the customization to break, you will need to hire a developer.

Hope this helps!

Thanks! I tried that but it doesn’t seem to be working.

Hello Dannette,

The custom css code should have work. Again, please update it and add a padding:

form.post-password-form {
    width: 88%;
    padding: 5%;
    margin: 20px auto;
    max-width: 1200px;
}

If this does not work, kindly provide us the URL of the page in question so we can investigate further.

Thanks.

Unfortunately, this still didn’t work for me. The page is in draft mode, but I tried publishing it, and it still didn’t work. I’ll send info in a secure note.

Thank you!

Hello Danni,

I have logged in and went to Appearance > Theme Editor > style.css file. I have inserted the code and now your post password form is displaying nicely.

Kindly check the page now.

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