Forums

How can i change the width of a input field

arawolf 24 Oct, 2014
I can't find how a change thewidth of a input field. I tried with firebug but no result.
GreyHead 24 Oct, 2014
Hi arawolf,

How do you want to change it? There are a set of classes in the ChronoForms CSS that set some standard widths.

Bob
arawolf 24 Oct, 2014
It's a joomla site maked with a artisteer template and i want the input field 60% of the div. Thank you for helping.
GreyHead 24 Oct, 2014
Hi arawolf,

Sorry, but that doesn't help much :-( using style='width:60%;' might help but CF uses a lot of <div>s around each input.

Bob
arawolf 25 Oct, 2014
i want to give al the input textbox fields on a width of 60%. Can i set this value in the backend of chronoforms or must i change this in the css
GreyHead 25 Oct, 2014
1 Likes
Hi arawolf,

You can set a style or a class for each of the inputs separately; or use a Load CSS action to apply CSS to a group of inputs. I'd probably use that approach here. Check the form page HTML to see the classes that CF applies and add appropriate CSS to get the result you need.

Bob
This topic is locked and no more replies can be posted.