Reduce White Space | XM Community
Skip to main content
Solved

Reduce White Space


Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • 543 replies

I have tried MANY different solutions, but remain unable to reduce the white space in my survey to help a Site Intercept display correctly. What am I missing? The only thing to make a dent is standard “look and feel” options to reduce to “compact” question spacing, no custom code has done anything. 

Survey/Intercept in question: 
 



Previously attempted solutions: 
 

 

Best answer by JesperAndersen

Have you tried to use CSS in the look and feel section?

This CSS has worked for me:

.Skin .QuestionOuter { padding-bottom: 0px; }
@media (min-width:480px) {.Skin .QuestionOuter .QuestionBody {padding-bottom:0px !important;}}

 

You might also look at reducing the space between the Yes & No options.

Alternatively you could display the Yes/No side by side. That should free up some space.

View original

3 replies

JesperAndersen
QPN Level 4 ●●●●
Forum|alt.badge.img+11
  • QPN Level 4 ●●●●
  • 92 replies
  • Answer
  • April 26, 2023

Have you tried to use CSS in the look and feel section?

This CSS has worked for me:

.Skin .QuestionOuter { padding-bottom: 0px; }
@media (min-width:480px) {.Skin .QuestionOuter .QuestionBody {padding-bottom:0px !important;}}

 

You might also look at reducing the space between the Yes & No options.

Alternatively you could display the Yes/No side by side. That should free up some space.


Forum|alt.badge.img+19
  • Author
  • Level 5 ●●●●●
  • 543 replies
  • May 2, 2023

Thanks for the idea! 

 

Turns out, my main issue was the layout I was using. I was utilizing the new “simple” layout, but I needed to change this to “blank” to get any of the code to work. After that, several of the previous solutions started to do something. 


JesperAndersen
QPN Level 4 ●●●●
Forum|alt.badge.img+11
  • QPN Level 4 ●●●●
  • 92 replies
  • May 2, 2023

Ahhh yes, now that you say so, I think I came across something similar, if you are chosing to user prebuilt themes. Good that it is working now :)


Leave a Reply