![]() |
|
Modify Login Box - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Modify Login Box (/thread-9968.html) |
Modify Login Box - ptraxler - 12-05-2012 Hi, I would like to remove the reset button and “I forgot my User ID/Password” link from the login box. I have modified the password.php in the theme folder, but I am unable to find where the code for the login box is. Thanks P.S. Great product Modify Login Box - fretzl - 12-05-2012 You can modify the zp-core/admin.css but your changes would have to be applied again each time you upgrade. Modify Login Box - ptraxler - 12-05-2012 Thanks for your reply, I have now removed the button and link but I would also like to remove the two outer borders around the login form and the word login. I would also like to remove “The page you are trying to view is password protected.” From the top and reduce the padding around the form. Modify Login Box - acrylian - 12-05-2012 It should be possible to do that via the theme's css as well. Modify Login Box - ptraxler - 12-05-2012 Which part in the theme's CSS I can't find it? Modify Login Box - acrylian - 12-05-2012 well, you have to add it first. Modify Login Box - fretzl - 12-05-2012 In your theme's css add: ` fieldset#logon_box fieldset legend { loginform p.logon_link {display: none; Modify Login Box - ptraxler - 12-05-2012 Thanks very much for your help, that worked well thanks, There is just one thing I am still struggling with, I still have; "The page you are trying to view is password protected." Above the login box with loads of white space. I am using the default template and this doesn't seem to be in the password.php or the theme css Modify Login Box - fretzl - 12-05-2012 Ah yes, I forgot that one. Add this to your stylesheet: passwordform p {display: none; Modify Login Box - ptraxler - 12-05-2012 Got it, fretzl YOU ARE THE MAN!! Thanks for all your help. |