How do I remove the white space before a survey question? | XM Community
Skip to main content
Solved

How do I remove the white space before a survey question?

  • June 28, 2019
  • 2 replies
  • 831 views

I am trying to create an exit intent survey for my site. I want the survey to be embedded in the intercept, it's a single question survey so I want the whole question and the submit button visible in the intercept. I don't want the intercept to take up the entire webpage though, so I'm trying to eliminate any white space from the survey to get it to fit. Is there a way to remove the white space from the header of the survey as well as the white space between the last question choice and the submit button?

Best answer by TomG

Try adding this to the bottom of your question text (in HTML source mode): ``` <style> #LogoContainer, #HeaderContainer, #ProgressBar { display:none; } .Skin .SkinInner, .Skin #Buttons { padding-top: 0px; } .Skin .QuestionOuter, .Skin .QuestionBody { padding-bottom: 0px !important;} </style> ```

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • June 29, 2019
Try adding this to the bottom of your question text (in HTML source mode): ``` <style> #LogoContainer, #HeaderContainer, #ProgressBar { display:none; } .Skin .SkinInner, .Skin #Buttons { padding-top: 0px; } .Skin .QuestionOuter, .Skin .QuestionBody { padding-bottom: 0px !important;} </style> ```

DebH_AUS
Forum|alt.badge.img+2
  • 2 replies
  • July 4, 2019
We also had a similar issue with a lot of white space at the top of the survey which meant a lot of wasted real estate when embedded in a website intercept. Tried different code to remove it and nothing worked. Turned out the spacing was in our survey template theme. We reached out to the themes team and this has now been removed.