WordPress.org

Support

Support » Plugins and Hacks » A5 Custom Login Page » [Resolved] Vertical centering of the main DIV has to be customized

[Resolved] Vertical centering of the main DIV has to be customized

  • I see you haven’t included an option to vertically center the login box on the page. I’d love an option to at least add vertical padding to the main body area:

    html body.login {
    padding: 80px 0 0;
    }

    Because your only CSS area is a complete override, vs an additive stylesheet, I’m forced to add that to the theme CSS. That’s not portable if a client changes the theme up later and I know I’ll get a call about it. The other option is to install a plugin for customizing the CSS but that seems like overkill, given the circumstances.

    https://wordpress.org/plugins/custom-login-page/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tepelstreel

    @tepelstreel

    Do you think, it would be better to have the CSS section as additional instead of an override?

    I tought about that and decided to do it as override because I just copy the style sheet, that the plugin produces and then enter my additional styles.

    However, I’m on a working trip for the next days and can’t look at my plugins before mid of May.

    Best,
    Stefan

    Plugin Author tepelstreel

    @tepelstreel

    Hi there,

    it took time. But the css section should now work as you wish 😉

    Best,
    Stefan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Vertical centering of the main DIV has to be customized’ is closed to new replies.
Skip to toolbar