Customizing And Styling The Password Protected Form

This topic has 8 replies, 2 voices, and was last updated 8 years, 3 months ago ago by 8theme

  • Avatar: rienzicomunica@gmail.com
    rienzicomunica@gmail.com
    Participant
    August 24, 2016 at 15:51

    Hi,
    I’ve a problem with Customizing And Styling The Password Protected Form.
    I must protected some pages. So I chose to protect pages with wordpress default protect mode.
    When I go to the protected page I display the password entry box..
    The problem is that i display password box and button two times in the same protect page.

    How Can I do to see the box only once? I can center around?

    PS: I tried to change both the theme file function.php (/wp-content/themes/Xstore/ theme/function.php) that the post-template.php file (/wp-includes/post-template.php) without success!
    How can I fix it?
    Thanks
    Francesco

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: 8theme
    8theme
    Support staff
    August 25, 2016 at 07:16

    Hello,

    We just visited your web-site and don’t see any protection form, did you remove it?

    Avatar: rienzicomunica@gmail.com
    rienzicomunica@gmail.com
    Participant
    August 25, 2016 at 09:07

    Hi,

    Yes I had removed. Now I put it back online.

    You can check at this link: http://new.school-uniforms.it/negozio-sacro-cuore-milano/

    Let me know if i can fix it.

    Thanks a lot.

    Francesco

    Avatar: 8theme
    8theme
    Support staff
    August 25, 2016 at 09:55

    Thank you. Just hide this second form with this custom CSS code as a temporary fix

    .prefooter .post-password-form { display: none;}

    Avatar: rienzicomunica@gmail.com
    rienzicomunica@gmail.com
    Participant
    August 25, 2016 at 13:31

    Ca I align to center?
    Thanks

    Avatar: 8theme
    8theme
    Support staff
    August 25, 2016 at 14:11

    Yes, try this code also

    form.post-password-form {
        text-align: center;
    }
    Avatar: rienzicomunica@gmail.com
    rienzicomunica@gmail.com
    Participant
    August 25, 2016 at 14:57

    Ok, form is to center bu the text below is left to the left. You can also align the text you perhaps?

    Thanks
    F.

    Avatar: 8theme
    8theme
    Support staff
    August 25, 2016 at 15:03

    You can try this one 🙂

    .post-password-form label {
        text-align: right;
    }
  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.