Site logo

[Support request] Customize Password Protected page

Home Forums Support [Support request] Customize Password Protected page

Home Forums Support Customize Password Protected page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1538181
    sandi

    Hello,
    Is there anyway to make the Password page any nicer looking?
    Using GeneratePress with child theme Freelancer.

    I just need something (CSS) that will make it a bit nicer, maybe padding and center it and lighten it up a bit?

    thanks
    Sandi

    #1538232
    Elvin
    Staff
    Customer Support

    Hi,

    To clarify: Do you mean your site’s login page?

    The theme itself doesn’t control this.

    Here’s the official WordPress documentation about this:
    https://codex.wordpress.org/Customizing_the_Login_Form

    You’ll need a third party plugin to customize WordPress’ login page.

    You can follow this article for plugin recommendations.
    https://www.wpbeginner.com/plugins/how-to-create-custom-login-page-for-wordpress/

    #1542504
    sandi

    Hello,
    Sorry, I did not describe correctly. I’m looking for a way for a password protected page to look better.

    If user is on your site and wants to access software page, I have added a password for them to get to that page.

    I would like to be centered, lighter button, maybe in a box…

    thanks
    Sandi

    #1542567
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .post-password-required .entry-content {
        max-width: 1200px;
        margin: auto;
        padding: 100px 30px;
        text-align: center;
    }
    .post-password-form > p {
        margin-bottom: 40px;
    }
    /* submit button colors */
    .post-password-form input[type="submit"] {
        background-color: #f00;
        color: #fff;
    }
    /* submit button hover color */
    .post-password-form input[type="submit"]:hover {
        background-color: #00f;
        color: #fff;
    }
    #1542575
    sandi

    Perfect! Thank you very much!

    Sandi

    #1542608
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.