Archived topic
Centering "Page cannot be found" and more
5 replies · Started by Kle on January 31, 2018
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.
Hi there,
Try this CSS:
.error404 .inside-article {
text-align: center;
}
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.
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 :)
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.
There isn't a way to center contents in the customizer.
Glad you got the CSS to work :)