-
tessed3Participant
One of the boxes in the form does not have the same design.
Why is this happening?
Can anybody help me with this?Kind regards,
ThereseDaniel TaraKeymasterI don’t see a contact form on that page. Most probably it was either having a custom class or input type like password.
tessed3ParticipantI took it away but now it is there again.
Can you please take a look again.http://www.vmbudet.se/kontakt/
Thanks!!
Daniel TaraKeymasterThe email field has
type="email"
. Give ittype="text"
and it will look the same.iboreguaParticipantHello,
I put
input[type="email"]
next toinput[type="text"]
in style.css in the 208th row. And it worked. Plus it didn’t give me a configuration error (“The Reply-To field value is invalid.”). Please see wordimagine.com.I tried also
input[type="select"], input[type="option"]
for drop-down menu but this proved to be a bit harder nut to crack.I must be missing something (of course – I’m not a CSS expert).
Any hints, please?
Best regards!
Igor
Daniel TaraKeymasterinput[type="select"]
andinput[type="option"]
aren’t valid selectors. The syntax istag[attribute="value"]
so it would resolve to this:<input type="select" ... /> <input type="option" ... />
But the
<input>
tag does not acceptselect
andoption
astype
values. (In theory you could do it but it would fall back to thetext
value)The syntax for drop-down select is this
<select name="..."> <option value="...">...</option> ... </select>
So the selectors you are looking for are:
select, option { # CSS properties }
Note that the
<option>
tag accepts no CSS properties and the<select>
tag only accepts limited properties likefont-size
andline-height
.iboreguaParticipantThank you very much, Daniel!
Now it seems so clear π I’ll start with
<select>
and then it seems I’ll need to use some script for better looking<option>
.I do have some more questions but first things first.
Have a nice day!
Igor
Tagged: configuration error, Contact Form 7, drop down menu, tags
You must be logged in to reply to this topic.