Pick, Group, and Rank Boxes Color | XM Community
Solved

Pick, Group, and Rank Boxes Color

  • 24 June 2021
  • 1 reply
  • 47 views

Badge

image.pngHello! I would like to make these 2 boxes differ in color - "Group 1" to be green and "Group 2" to be red. Is it possible to make or boxes could be only the same color?

Thanks! :)

icon

Best answer by ChiragK 25 June 2021, 12:51

View original

1 reply

Badge +8

Hello, Try adding following custom code in that question
Qualtrics.SurveyEngine.addOnReady(function () {
    var $this = jQuery(this.questionContainer);

    jQuery(".QuestionBody .groupsContainerTd .Group:eq(0) ul.ui-sortable", $this).css("background-color", "#dfffcf");   //first group - green
    jQuery(".QuestionBody .groupsContainerTd .Group:eq(1) ul.ui-sortable", $this).css("background-color", "#ffcfcf");   //second group - red
});

Leave a Reply