How to remove "slider" from the bottom of a descriptive text? | XM Community
Solved

How to remove "slider" from the bottom of a descriptive text?

  • 25 April 2019
  • 2 replies
  • 38 views

Userlevel 5
Badge +6
  • Level 3 ●●●
  • 197 replies
Hi all,
first question of my survey is a descriptive text question containing few paragraphs of text and an image. In a mobile preview there appears a slider bellow this question even though neither the image nor the text itself don't exceed the width of the "device screen". Would anyone know how to get rid of this "slider"? I've tried to modify ` max-width` of `.QuestionOuter`, `.Questions`, `.QuestionText` or `.InnerInner` using `%` or `vw`, but this didn't help.



!
icon

Best answer by Anonymous 25 April 2019, 18:54

View original

2 replies

Hello @Fleb ,

If you can see the question text without scroll then paste the below code in the js(OnReady) of the question:

jQuery("#"+this.questionId+" .QuestionBody" ).css("overflow-x","hidden");
Userlevel 5
Badge +6
Hi @Shashi,
this code did nothing in my question, but I realized, that one of element was wider than the screen- size. When I set smaller width, the slider disappears.

Leave a Reply