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

    I’m using this plugin called Page Restrict http://wordpress.org/plugins/pagerestrict/ that is restricting a page for me but the login is pushed all the way to the left of the page. The developer of the plugin said to talk to the theme creator about the issue. He said it was a theme layout issue. The plugin developer gave me the code below to add to the css but it makes the entire website centered and messed up. I only want the login fields to be centered on the staff login page. http://smartpaynm.com/staff/

    Code from the plugin developer
    .page-restrict-output {
    width: 400px;
    margin: 0 auto;
    }
    The entire website gets messed up when I use this css code above. See the result http://oi43.tinypic.com/2luq9lj.jpg.

    I just need the login fields on the staff page to be centered. Can you help me out?

    #207934

    Hey asherbarrett!

    Add this on your custom.css or Quick CSS:

    .page-restrict-output {
    width: 100%;
    text-align: center;
    }
    
    .page-restrict-output > * {
    display: inline-block;
    }

    Regards,
    Ismael

    #208081

    That kind of worked. The text moved over but not the login fields. Take a look http://smartpaynm.com/staff/

    #208346

    Hey!

    You added the code under mobile device media query. Please add it below this one on custom.css:

    /* General Custom CSS */

    Regards,
    Ismael

    #208693

    I’m sorry I added the code like you said and it’s still showing me the same issue with the login fields floating to the left.
    http://oi39.tinypic.com/qzkrxi.jpg

    http://smartpaynm.com/staff/

    #208864

    Hey!

    Try following code

    
    .page-restrict-output {
    width: 1210px;
    margin: auto;
    }
    
    .page-restrict-output form, .page-restrict-output p, .page-restrict-output form input{
    text-align: center !important
    }
    

    Best regards,
    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Plugin question’ is closed to new replies.