Removing white space in matrix table using custom CSS code | XM Community
Skip to main content

Can anyone share the custom CSS code that will remove the white space between the section header (question) and statements (rating labels) in a standard likert matrix table? I appreciate any help you can provide.

Try using below code in the onReady function of the matrix question:

jQuery("#"+this.questionId+" .QuestionText ").css("padding-bottom","0px");
jQuery("#"+this.questionId+" tr.Answers th").css("padding-top","0px");

 


Thanks, Sashi! I tried pasting this code exactly as shown above but it did not remove the whitespace. Am I missing a step? I appreciate your help.

 


Can you highlight using a screenshot on which white space you want  to remove?


 


 

@Mweiss It’s a matrix table, so the space that you want to remove is actually a part of the table. It’s not a white space it’s actually a cell that has no value in it. You can’t really remove it

 


Leave a Reply