remvoing margins | XM Community
Skip to main content
Solved

remvoing margins

  • April 4, 2019
  • 2 replies
  • 130 views

I am creating a form that will be embedded on a webpage. I am looking to remove all margins, but primarily the header and footer so there isn't space between the top of the form and the first question. I've tried adding some code and it hasn't worked so far. Any ideas? Here's some of the code I found on previous discussions that I tried: .Skin #Logo { height: 0px !important; } .Skin .SkinInner { padding-top: 0px !important; } .Skin label.QuestionText { display: unset; }

Best answer by ana_velez

Hi @jjablonk! this is the best I was able to do, the footer is a little bit difficult, but i think it can get close to what you are looking for. I hope this works .Skin .SkinInner { padding-top: 0px; } .Skin #LogoContainer { padding-top: 0px; } .Skin #BrandingFooter, .Skin #Footer { margin-top: 0px; margin-bottom: 0px; padding-bottom: 0px; }

2 replies

ana_velez
QPN Level 5 ●●●●●
Forum|alt.badge.img+27
  • QPN Level 5 ●●●●●
  • Answer
  • April 4, 2019
Hi @jjablonk! this is the best I was able to do, the footer is a little bit difficult, but i think it can get close to what you are looking for. I hope this works .Skin .SkinInner { padding-top: 0px; } .Skin #LogoContainer { padding-top: 0px; } .Skin #BrandingFooter, .Skin #Footer { margin-top: 0px; margin-bottom: 0px; padding-bottom: 0px; }

  • Author
  • April 5, 2019
@ana_velez_voce This is great, thanks!