multiple fields in one Editor Row

multiple fields in one Editor Row

egberteegberte Posts: 13Questions: 1Answers: 0
edited February 2014 in Editor
Using editor each field is added on a single row with col-lg-4 for the label and col-lg-8 for the fields.
There are some cases where I am using a radio button group to set dates and when a custom date is chosen I'l like to expose a smaller date input say col-lg-2 so it appears to the right of the radio buttons in a col-lg-4 or similar. I've managed to gett he radio buttons to appear in-line but they were already in a single col.

Is there any preferred way to place multiple fields in a single row to save vertical space?

Replies

  • allanallan Posts: 63,531Questions: 1Answers: 10,474 Site admin
    Not really a preferred way - its simply a case of manipulating the CSS. For example, you just use the fact that the field containers all have a class name that reflects the field type: `DTE_Field_Type_text` for example. You could then do something like:

    [code]
    div.DTE_Field_Type_radio {
    width: 50%;
    float: left;
    }
    [/code]

    The exact code will depend upon the use case, but that is one possible way of doing what I think you are looking for.

    Allan
  • egberteegberte Posts: 13Questions: 1Answers: 0
    No worries. I just wanted to check first before going this route. Thanks!
This discussion has been closed.