Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Styling password protected page

  • Hi, is there a way to style password protected page with elements ? I mean not page itself, but page with unlocking form. I didn’t find it at location in Display Rules and I want apply Layout element to it. Or there is only CSS way like I find here: https://generatepress.com/forums/topic/customize-password-protected-page/
    Thanx Radek

  • fernandoazarcon2

    Hi Pesiiin,

    Someone recommended plugins like SeedProd and PPWP for instance to customize that.

    If you want to customize it through CSS, have you tried the code by David in that thread?:

    .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;
    }
  • Yes I tried and it works. I’m just wondering if I missed something in Display rules.

  • fernandoazarcon2

    Ohh I see what you mean. No, it’s not editable through an Element I believe.

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