Removing right hand margin on questions | Experience Community
Skip to main content
Solved

Removing right hand margin on questions

  • Sep 12, 2024 3:07 PM UTC
  • 3 replies
  • 153 views

Forum|alt.badge.img+1

I have adjusted my survey to span 70% of the window with the following code:

.Skin .SkinInner{width: 70% !important;;
max-width: 70% !important;}
 

While this works for majority of the survey, there are questions that still do not correctly span the window despite the forward and back arrows (and banner) spanning the window correctly. The image below is an instance of this. The issue occurs with matrix questions and a dropdown question. 

 

Best answer by rondev

Use this CSS:

.Skin .SkinInner{width: 70% !important;
max-width: 70% !important;}
.Matrix{min-width: 98%!important;width: 98%!important;}

 

View original

3 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Sep 14, 2024 11:10 AM UTC

Try below CSS:

.Matrix{min-width: 98%;}

 


Forum|alt.badge.img+1
  • Author
  • Sep 14, 2024 1:07 PM UTC

Hi @rondev,

Thanks for the insight. I am beyong a beginner with CSS working from these forums, basically. Where should I add this code script within my existing code? 

I added my previous code in the Style tab of Look & Feel. When I tried to simly append your solution to the rest of the CSS in this menu (as below), the issue was still present. 

.Skin .SkinInner{width: 70% !important;
max-width: 70% !important;}
.Matrix{min-width: 98%;}

Perhaps I placed the code in the strong area of the script or might there be another solution? 

Thanks again!


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • Sep 14, 2024 2:09 PM UTC

Use this CSS:

.Skin .SkinInner{width: 70% !important;
max-width: 70% !important;}
.Matrix{min-width: 98%!important;width: 98%!important;}