Member
Member
ptraxler   12-05-2012, 15:23
#1

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

Administrator
Administrator
fretzl   12-05-2012, 15:50
#2

You can modify the zp-core/admin.css but your changes would have to be applied again each time you upgrade.

Member
Member
ptraxler   12-05-2012, 16:11
#3

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.

Administrator
Administrator
acrylian   12-05-2012, 16:41
#4

It should be possible to do that via the theme's css as well.

Member
Member
ptraxler   12-05-2012, 16:51
#5

Which part in the theme's CSS I can't find it?

Administrator
Administrator
acrylian   12-05-2012, 17:02
#6

well, you have to add it first.

Administrator
Administrator
fretzl   12-05-2012, 18:09
#7

In your theme's css add:

`
fieldset#logon_box legend {
display: none;
}

fieldset#logon_box fieldset legend {
display: block;
}

loginform p.logon_link {


display: none;
}
To change borders and paddings find #loginformand #loginform fieldset` in your theme's css and change the appropriate properties.

Member
Member
ptraxler   12-05-2012, 18:47
#8

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

Administrator
Administrator
fretzl   12-05-2012, 19:22
#9

Ah yes, I forgot that one.

Add this to your stylesheet:
`

passwordform p {


display: none;
}
The margins (the [i]loads of white space[/i]) can also be changed in the#loginform` selector.

Member
Member
ptraxler   12-05-2012, 19:56
#10

Got it,

fretzl YOU ARE THE MAN!!

Thanks for all your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.