Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Left align the questions

Left align the questions 4 years 6 months ago #73473

  • smartcard
  • smartcard's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
I am using citronade template with my survey, and I would like to know how to left align the questions as per the following screenshot:


Last Edit: 4 years 6 months ago by smartcard.
The administrator has disabled public write access.

Left align the questions 4 years 6 months ago #73485

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
This can be done by CSS at the template.css file of the citronade template, see docs.limesurvey.org/The+template+editor&...g_questions_with_CSS

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Left align the questions 4 years 6 months ago #73491

  • smartcard
  • smartcard's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Thanks for the reply, unfortunately I am not that technical. If someone can guide me how to do this, I will really appreciate.
The administrator has disabled public write access.

Left align the questions 4 years 6 months ago #73493

  • smartcard
  • smartcard's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
The administrator has disabled public write access.

Left align the questions 4 years 6 months ago #73508

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6221
  • Thank you received: 1379
  • Karma: 539
Add the following to the end of template.css:
table.question tbody th.answertext {
    text-align: left;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: smartcard

Left align the questions 4 years 6 months ago #73545

  • smartcard
  • smartcard's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Thanks, I tried but not changing the alignment.
The administrator has disabled public write access.

Left align the questions 4 years 6 months ago #73561

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
Did you clear your browser cache so that the updated CSS file si loaded isntead of a cached old one?
Alternatively try a different browser.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: smartcard

Left align the questions 4 years 6 months ago #73631

  • smartcard
  • smartcard's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Mazi wrote:
Did you clear your browser cache so that the updated CSS file si loaded isntead of a cached old one?
Alternatively try a different browser.

Yes, you are correct trying from another computer worked, so the problem was cache.

Many thanks :)
The administrator has disabled public write access.

Left align the questions 4 years 6 months ago #73633

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
smartcard wrote:
Yes, you are correct trying from another computer worked, so the problem was cache.

Many thanks :)
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.371 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form