Page 1 of 1

Form builder textfield's class ?

Posted: Sun Jun 28, 2015 8:30 pm
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

Re: Form builder textfield's class ?

Posted: Sun Jun 28, 2015 9:15 pm
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...

Re: Form builder textfield's class ?

Posted: Sun Jun 28, 2015 9:26 pm
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

Re: Form builder textfield's class ?

Posted: Mon Jun 29, 2015 5:01 am
by Rolf