Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Userform 0.2 CSS help


Reply

3 Posts   1280 Views

Avatar
pinkp

12 November 2009 at 11:18pm Community Member, 168 Posts

Hi sorry to start a new topic but the other userform one is huge!
This may be very simple but I can't get it working properly:

How do I change the style of the "required / custom error message" that appear?
I can't quite see which class to add/change... it doesn't appear to have its own?

Thanks

Avatar
Oceanc

13 November 2009 at 3:37pm Community Member, 7 Posts

Here is what worked for me in case you haven't fiogured this out yet:

#form_contactus_box .required {
   color:#F00;
   font-size:16px;
   font-weight:bold;
}

where my form was withing the div id form_contactus_box

Avatar
pinkp

13 November 2009 at 9:40pm Community Member, 168 Posts

Nice one thanks, you were right I needed to target it more specifically, I ended up using:

#Form_Form label.required{
   color:#ff9999;
   font-weight:normal;
   font-size:0.8em;
}

With a little help from 'CSSEdit'

Many thanks