formbuilder template code

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
whiteduck
Forum Members
Forum Members
Posts: 13
Joined: Sun Apr 03, 2011 1:16 pm

formbuilder template code

Post by whiteduck »

I am using formbuilder and want to style my form. I have used some field type as static text and just want to change the appearance eg make it bold.

I tried the following code inserted >> I don't know much about coding so I am sure it is probably very wrong. I appreciate any help anyone can offer me.

{if $fields->type == -Static Text}<span class="bold">$fields</span>{/if}

WD
whiteduck
Forum Members
Forum Members
Posts: 13
Joined: Sun Apr 03, 2011 1:16 pm

Re: formbuilder template code

Post by whiteduck »

I have resolved this problem in a different way >> using the CSS attached to a field in the advanced options.

WD
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: formbuilder template code

Post by Dr.CSS »

I do all my styling using CSS for forms, is a place in advanced tab of every field where you can give it a class...

http://forum.cmsmadesimple.org/viewtopi ... =20&t=8694
Post Reply

Return to “Layout and Design (CSS & HTML)”