Hiding or editing a specific div | XM Community
Solved

Hiding or editing a specific div

  • 15 November 2019
  • 2 replies
  • 112 views

Userlevel 7
Badge +6
How can I hide or reduce the padding of specific question text? I have already hidden all content of the question box with <<span style display"none>>

But it looks like the div container padding is still causing a problem.

!
icon

Best answer by TomG 15 November 2019, 15:43

View original

2 replies

Userlevel 7
Badge +27
Easiest is to hide the question text with JS. Then you don't even need the span.
```
jQuery("#"+this.questionId+" .QuestionText").hide();
```
Userlevel 7
Badge +6
@TomG - Yup, way easier than what I was trying to do. I tried removing all the individual pieces but this is WAY cleaner.

Much appreciated.

Leave a Reply