Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Centering "Page cannot be found" and more

Home Forums Support Centering "Page cannot be found" and more

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #484820
    Kle

    Hi there,

    I been looking around for a way to center the “Oops! That page can’t be found.
    It looks like nothing was found at this location. Maybe try searching?”

    And also when a page has a password the login fields appear on the left side of my page.

    How can I center these instances? I looked in the customizer and could’t find the settings for this.

    Thank you.

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #484972
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .error404 .inside-article {
        text-align: center;
    }
    #485744
    Kle

    Ok, thank you. And for the password protected I used this:

    .editableHD .post-password-form{
    text-align:center;
    }

    As I could’t find setthings for this.

    #485746
    Leo
    Staff
    Customer Support

    I’m not sure what that supposed to be for. Doesn’t look like a native GP element.

    But it’s CSS so if it works then it works 🙂

    #485769
    Kle

    Hi Leo. I used it to center the protected password fields on a private page or post, they appear all the way to the left by default on my bage and I need them centered. Looked for a native way to center it with the customizer but couldn´t find a setting to do that.

    #485977
    Leo
    Staff
    Customer Support

    There isn’t a way to center contents in the customizer.

    Glad you got the CSS to work 🙂

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