Archived topic
Customize password protected page?
3 replies · Started by Nikola on January 11, 2022
Hello,
My page looks very nice but when I put password protection on it design is not so nice, margins disappear somehow.
How can I edit style of that option of WP to password protect the page. Maybe simply putting it in the center and adding some padding on the top and bottom.
Hi there,
That page is currently using the full width content container which removes the padding:
https://docs.generatepress.com/article/content-container/#full-width
Can you try setting it to Default?
But I need that full width for the main page content as there are some elements where I want image to be full width
Hi there,
simplest method is to add a little CSS like so:
.post-password-form {
max-width: 800px;
text-align: center;
margin: 80px auto;
}