Mutliple Columns For Checkboxes (Editor)

Mutliple Columns For Checkboxes (Editor)

gforstergforster Posts: 40Questions: 19Answers: 1

In Editor, I have a field that has a large amount of options of type: "checkbox". Currently, they are in one long list. Is there a good way to split them up over multiple columns at a certain length? I'm also using Bootstrap4, but someone else may come across this and want to know how to do it in general as well.

Thanks!

Answers

  • gforstergforster Posts: 40Questions: 19Answers: 1

    I'm still looking for some help on this. I've tried the Multi-Column Layout, but that still keeps the checkbox elements all in a single column. I am sure there is a better way, i just can't see the trees for the forest.

  • allanallan Posts: 64,323Questions: 1Answers: 10,622 Site admin

    You can use a little CSS for this:

    div.DTE_Field_Type_checkbox div.DTE_Field_InputControl > div > div {
      float: left;
      width: 50%;
    }
    

    You could use flex box or whatever you prefer if you don't want to float them.

    Allan

This discussion has been closed.