Form builder textfield's class ?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Recon
Forum Members
Forum Members
Posts: 200
Joined: Sat Oct 09, 2010 10:23 am

Form builder textfield's class ?

Post by Recon »

Hi,

Module's template do not generate classes to text fields after version 0.8. It only generate IDs. Can someone tell me where to place class on smarty template, that it generate classes only for texfields?

Text areas have class "cms_textarea"

RB;

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

Re: Form builder textfield's class ?

Post by Dr.CSS »

You add the class in the advanced tab, last time I looked, which is added to the div around the field, use this for styling...
Recon
Forum Members
Forum Members
Posts: 200
Joined: Sat Oct 09, 2010 10:23 am

Re: Form builder textfield's class ?

Post by Recon »

This will add class to div around it, but not to input inside of it...

but ok, I use this. It's second best-solution. Thank you!

(for others: like this):

.cms_textfield > input{

}

-R
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Form builder textfield's class ?

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”