[solved] Form Builder Shared CSS?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Jonny
Forum Members
Forum Members
Posts: 77
Joined: Sun Sep 24, 2006 10:49 am

[solved] Form Builder Shared CSS?

Post 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
Last edited by Jonny on Mon Sep 24, 2007 7:37 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder Shared CSS?

Post 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; }
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.
Jonny
Forum Members
Forum Members
Posts: 77
Joined: Sun Sep 24, 2006 10:49 am

Re: Form Builder Shared CSS?

Post 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).
Post Reply

Return to “CMSMS Core”