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
[solved] Form Builder Shared CSS?
[solved] Form Builder Shared CSS?
Last edited by Jonny on Mon Sep 24, 2007 7:37 am, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Form Builder Shared CSS?
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; }
i.e: {cms_module module=FormBuilder form=blah}
.form input { background-color: #c0c0c0; }
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Form Builder Shared CSS?
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).
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).

