Page 1 of 1

[solved] Form Builder Shared CSS?

Posted: Sun Sep 23, 2007 11:05 pm
by Jonny
I'm working on a site with a number of forms that require the same styling.

At present I'm having to update the source of each form's CSS field every time a tweak is required, which is quite tedious.

Is there any way to share a centralised CSS between the forms so I can edit once for all?

Sure I must be missing something obvious here.

Jonny

Re: Form Builder Shared CSS?

Posted: Sun Sep 23, 2007 11:49 pm
by calguy1000
wrap the forms in the same div class, and just style the input items inside that div.

i.e:  {cms_module module=FormBuilder form=blah}

.form input { background-color: #c0c0c0; }

Re: Form Builder Shared CSS?

Posted: Mon Sep 24, 2007 7:36 am
by Jonny
Thanks for your help Calguy.

I'd tried this earlier without success. It transpires that Template Externalizer, which I use for stylesheet editing, had stopped working (not sure why - it wasn't timed out. Reinstalling fixed it).