Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Formatting in userforms / checkbox group

Go to End

3 Posts   2480 Views


Community Member, 6 Posts

30 July 2009 at 9:18pm

I have strange formatting in a userform. I use ss 2.3.2 with userforms 0.2. I'm a newbie and I tried to find an answer in this forum.

Please have a look here: or see the attached screenshot.

If you uncheck the first or second checkbox then a checkbox group opens where all further checkboxes are badly formatted. How and where can I fix that?

Thx in advance for your valuable attention.

Nathan Cox

Community Member, 99 Posts

31 July 2009 at 4:57pm

The problem is the styles in BlackCandy's form.css:

The rule ".typography label" sets labels to display:block, which makes them drop onto a new line instead of sitting beside the checkbox like they should. The rest of the checkboxes work fine because the "label.right" rule sets their display back to "inline", but the labels in the expanding groups don't get the ".right" class.

Adding a rule like

.checkboxsetfield label {

to form.css should fix the problem.


Community Member, 6 Posts

31 July 2009 at 9:34pm

What shall I say?

Perfect, marvellous, wonderful ...

It works. Many thanks!