Matrix header width and checkbox spread column width

  • pdxhomevet
    Asked on July 15, 2016 at 7:44 PM

    Hi,

    I'm sorry to be dense, but CSS isn't my thing, and I've read other threads, but I just can't seem to get this to work.

    My survey can be found here:

    https://form.jotform.com/pdxhomevet/ahvs-2016-survey

    For the pages of the survey that uses a matrix, I want the overall matrix to be wider, but specifically, I want to widen where the description of each row is so it is more readable and not condense to just one or two words per line.

    This changed when I added a theme, which now sees to be a mistake, but I'd like to figure this out if I need to solve this problem again.

    The other thing I would like to solve is if I choose to spread a list of checkboxes over two columns, I'd like to create some separation between the two column of check boxes.  I don't want the description of each checkbox to wrap, because it doesn't look good that way because when they wrap, they don't align well with the text above it.  I'd like the columns of check boxes to be further apart.

    Thank you for any help that anyone can provide on either of these issues.

    Ryan

  • jonathan
    Replied on July 16, 2016 at 12:46 AM

    For the spread checkboxes, this is the CSS code to use

     

    .form-multiple-column .form-checkbox-item {

        margin-right : 110px;

    }

    .form-multiple-column {

        width : 650px;

    }

    .form-checkbox-item label  {

        width : 350px;

    }

    .form-radio-item label {

        width : 350px;

    }

    Matrix header width and checkbox spread column width Image 1 Screenshot 40

     

    The margin-right I have highlighted above is the number that controls the 2nd column right position.

    The actual result should be like this.

    Matrix header width and checkbox spread column width Image 2 Screenshot 51

     

    For the matrices, add this CSS codes

     

    .form-matrix-table {

        width: 100%;

        max-width: 650px;

    }

    Matrix header width and checkbox spread column width Image 3 Screenshot 62

     

    You can check my test form https://form.jotform.com/61968690433971

    Let us know how it goes for you.

  • pdxhomevet
    Replied on July 16, 2016 at 9:52 PM

    That did the trick.  Thanks so much!!