Hiding or editing a specific div | XM Community
Skip to main content
Solved

Hiding or editing a specific div

  • November 15, 2019
  • 2 replies
  • 202 views

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+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. !

Best answer by TomG

Easiest is to hide the question text with JS. Then you don't even need the span. ``` jQuery("#"+this.questionId+" .QuestionText").hide(); ```

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • November 15, 2019
Easiest is to hide the question text with JS. Then you don't even need the span. ``` jQuery("#"+this.questionId+" .QuestionText").hide(); ```

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
  • Author
  • Level 4 ●●●●
  • November 15, 2019
@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.