Forums

Line Spacing in Checkbox Group

paulobrien75 07 Apr, 2014
Hi All

I have created a form with Chronoforms. On the form I have a grouped checkbox. Is it possible to increase the spacing between each line? At the moment they are very close together....

Thanks

Paul
Max_admin 07 Apr, 2014
Answer
Hi Paul,

You can override the CSS, try this code inside a "Load CSS" action inside the "on load" event:

.gcore-radio-item{height:30px;}


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
paulobrien75 08 Apr, 2014
Thanks Max

I have just tried that but it doesn't seem to make any difference?

Paul
GreyHead 08 Apr, 2014
Hi Paul,

Have you checked to see what is setting the spacing? It's most likely some CSS from your template. You'll need to adjust or over-ride it.

Bob
paulobrien75 08 Apr, 2014
Thanks Bob

Is there a particular piece of code I should look for?

Paul
GreyHead 08 Apr, 2014
Hi Paul,

Use the Web developer tools in your browser (usually F12) to see what CSS is setting the line-height that you need to change.

Bob
paulobrien75 09 Apr, 2014
Thanks guys! I have sorted that one now!

Can I ask another question please?

On another form I have three checkboxes - each with text on them. In the design mode, the text is all on one line with the checkbox at the end. In form mode - the text wraps onto the next line and the checkbox is aligned to the top of the text rather than the middle.

Is it possible to either :-

a) Stop the text from wrapping

b) align the checkbox in the centre vertically

or

c) both of the above!

Thanks

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