MAXDIFF ITEM SEPARATOR LINES (MATRIX) AND CHANGING HOVER COLOR | XM Community
Solved

MAXDIFF ITEM SEPARATOR LINES (MATRIX) AND CHANGING HOVER COLOR

  • 11 February 2021
  • 1 reply
  • 22 views

Userlevel 1
Badge

Good day,
I'm currently working with a MaxDiff question (matrix). I'd sincerely appreciate anyone who can provide the code to place underline between each option and change the hover from grey to something else. Below is a picture of the lines I'd like. Thank you in advance.
MaxDiff Question (Matrix) Lines.png

icon

Best answer by Tom_1842 3 November 2022, 18:34

View original

1 reply

Userlevel 7
Badge +27

Hi there, if you still need, this can be put in place by adding the below CSS to the Style section of the survey's Look & Feel:
.ChoiceRow td {
    border-bottom: 1px solid lightgray;
}

.ChoiceRow th {
    border-bottom: 1px solid lightgray;
}

.Matrix table{
border-collapse:collapse !important;
}

.Skin .ChoiceRow:hover {
background-color: rgb(255, 204, 203) !important;
}
MaxDiff_RowStyling1.png

Leave a Reply