Welcome to the LimeSurvey Community Forum

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

How do I remove spaces between questions?

  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 8 months ago #139364 by arunicbe
Please see the attached screenshot. There are lot of spaces between questions which make the survey lengthy and ugly. Let me know how to remove these spaces. I am using 'News Paper' template for the survey.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #139372 by tpartner
Replied by tpartner on topic How do I remove spaces between questions?
Can you activate a test survey and give a link so we can see the source?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 8 months ago #139404 by arunicbe
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #139407 by tpartner
Replied by tpartner on topic How do I remove spaces between questions?
The URL is corrupted and not clickable.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 8 months ago - 7 years 8 months ago #139412 by arunicbe
Replied by arunicbe on topic How do I remove spaces between questions?
Code:
demo.limesurvey.org/index.php?r=survey/index/sid/621116/newtest/Y/lang/en

The link is working. Please copy the full url in the browser. I am not sure why the editor is not taking the full url as link.
Last edit: 7 years 8 months ago by arunicbe. Reason: link issue
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #139419 by tpartner
Replied by tpartner on topic How do I remove spaces between questions?
Try adding this to the end of template.css:

Code:
body div.row .question-container {
    margin-bottom: 0;
}
 
.question-title-container {
    padding: 0 1em 0;
}
 
.answer-container {
    padding-top: 0;
}
 
#navigator-container {
    margin-top: 0;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: arunicbe
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 8 months ago #139429 by arunicbe
Replied by arunicbe on topic How do I remove spaces between questions?
It worked.
The topic has been locked.
More
7 years 7 months ago #141048 by jantienm
Replied by jantienm on topic How do I remove spaces between questions?
Hi Tony,

I have a similar question about too much space. I'd like to remove some spave above the PREVIOUS en NEXT button below the questions. Now you have to scroll too much to go to the next question. I tried adding the code as you described but that didn't work. Thanks again.

Jantien
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 6 months ago #141072 by tpartner
Replied by tpartner on topic How do I remove spaces between questions?
This is what I use to remove that extra spacing:

Code:
/* Remove excess white-space */
#navigator-container {
    margin-top: 0;
    padding-top: 0;
}
.save-all hr {
  margin: 0;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: jantienm, f1refly
The topic has been locked.
More
7 years 6 months ago #141081 by jantienm
Replied by jantienm on topic How do I remove spaces between questions?
Thanks a lot Tony, that worked!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose