Alternatively, you could view the source code, and assign your CSS to match what’s in the forms…then you don’t have to try and find the code.
Thread Starter
Alys
(@alys)
I tried that, disn’t work however…
any tips?
Why wouldn’t it work? That makes no sense. Do you have a link?
I believe you will find the form in wp-login.php and the css that controls it in wp-admin.css (look for #login)…
Thread Starter
Alys
(@alys)
That wasn’t what I was looking for. I’m not talking about logging into wordpress, I use a plugging to customise that, Iam talking about the password submit button for when you try to veiw a password protected post. In reply to previous: it didn’t work because the submit button hadn’t been assigned a class or an id.
Ah, that, I think, is to be found in;
wp-includes/template-functions-post.php
Though if the size is all that is a problem you could try just styling font size under
entry(or whatever you post class is) p input
without resorting to changing core files. though it really should have a class assigned.
Thread Starter
Alys
(@alys)
Brilliant, thanks! the problem was that the submit button for thigs like adding comments, entering passwords etc. followed the input, select, textarea bit of my css. For thinks like comment submit buttons, WordPress asigned them a class, so I could just put this in my css and all would be fixed:
input#commentsubmit {
width: 90px;
}
The submit button for the protected post didn’t have one, but I’ve asigned it one now!