Increase label width

baxterdown 24 Jul, 2014
Hi Bob,

I have this form which uses the entire width of the page. How can I increase the width of the labels so they are all on a single line (notice for example how "Confirme correo electronico" is breaking into two lines).

Thanks!

Jose
GreyHead 25 Jul, 2014
Hi Jose,

Try this in a load CSS action
#chronoform-registro div label {
width: 400px !important;
max-width: 600px !important;
}

Bob
baxterdown 25 Jul, 2014
Hi Bob, PERFECT!!!!

Thanks so much. Have a great weekend!

Jose
rogeranton 25 Nov, 2014
Hi!

I can't get this code to work. Do I have to change the "#chronoform-registro" part of the code?

ChronoForms V5 Joomla 3.3.6

Roger
BNDragon 25 Nov, 2014
Hi rogeranton ,

"#chronoform-registro" is probably is form name (registro).
So you need to get it, if you don't know what is the id, use firebug, or similar, and inspect itπŸ™‚

BN
rogeranton 25 Nov, 2014
Thanks a lot BN

I found out that underscore _ works in form name but not in CSS code. Removing _ from form name did it πŸ˜€

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