This topic has 8 replies, 2 voices, and was last updated 8 years, 3 months ago ago by 8theme
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
Hello,
We just visited your web-site and don’t see any protection form, did you remove it?
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
Thank you. Just hide this second form with this custom CSS code as a temporary fix
.prefooter .post-password-form { display: none;}
Ca I align to center?
Thanks
Yes, try this code also
form.post-password-form {
text-align: center;
}
Ok, form is to center bu the text below is left to the left. You can also align the text you perhaps?
Thanks
F.
You can try this one 🙂
.post-password-form label {
text-align: right;
}
Tagged: customizing, form, password protected, styling, template, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up