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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Multiple UserDefinedForms css...


Go to End


2 Posts   917 Views

Avatar
MarkAB

Community Member, 30 Posts

8 August 2010 at 2:02am

Hi,

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!!

Avatar
MarkAB

Community Member, 30 Posts

9 August 2010 at 11:07pm

bump!!