WordPress.org

Forums

A5 Custom Login Page
[resolved] Vertical centering of the main DIV has to be customized (3 posts)

  1. ianarmstrong
    Member
    Posted 11 months ago #

    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/

  2. tepelstreel
    Member
    Plugin Author

    Posted 11 months ago #

    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

  3. tepelstreel
    Member
    Plugin Author

    Posted 5 months ago #

    Hi there,

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

    Best,
    Stefan

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.