Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

remove space below one single question

  • irs_sept
  • irs_sept's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 6 months ago #219712 by irs_sept
remove space below one single question was created by irs_sept
Hello!
I try to remove the margin-bottom for only one single question. I added "zieltop" as a css-class for this question and added the following line in my custom.css:
Code:
.zieltop .question-container {
    margin-bottom: 0;
}

I use this concept for different things, but it doesn't seem to work for the question-container. It works if I change the margin for all questions with
Code:
.question-container {
    margin-bottom: 0;
}

Any ideas how to remove the space between two questions - but not for all questions?
Thanks!
Christoph
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #219713 by DenisChenu
Replied by DenisChenu on topic remove space below one single question
question-container are at same level than CSS class : remove the space
Code:
.zieltop.question-container {     
    margin-bottom: 0;
}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • irs_sept
  • irs_sept's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 6 months ago #219714 by irs_sept
Replied by irs_sept on topic remove space below one single question
so easy...perfect!
Thanks!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose