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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Multiple UserDefinedForms css...

Go to End

2 Posts   828 Views


Community Member, 30 Posts

8 August 2010 at 2:02am


It may be a silly question BUT could someone point me in the right direction on how to style 2 different forms. Currently I have a form in the footer of my site that I've given all of the fields a dark grey background, I also have a form on my Contact page which I want all the fields to have a white background.

Everytime I make edits in the Form.css file it changes the styling of both forms, I understand why it is doing that but even if I create another class which I apply to the footer form & then add the relevant stylings to the Form.css file the original settings are always the ones that are used.

Any help with this would be great!!


Community Member, 30 Posts

9 August 2010 at 11:07pm