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

TOPIC: Aligning an answer

Aligning an answer 4 years 4 months ago #76765

Hi,
I know how to align the question itself, but how do I align an answer of a question?
For example, I would like to center the scale in the attached image.

Thanks!
David

The administrator has disabled public write access.

Aligning an answer 4 years 4 months ago #76779

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 6126
  • Thank you received: 1359
  • Karma: 534
Can you activate a sample survey so we can see the source code?
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.

Aligning an answer 4 years 4 months ago #76782

The administrator has disabled public write access.

Aligning an answer 4 years 4 months ago #76784

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 6126
  • Thank you received: 1359
  • Karma: 534
If you want to do it for a specific question, add the following to the end of template.css (where 195 is the question ID):
#question195 .answer ul {
    margin: 0 auto 1.5em auto;
}

If you want to do it for all multi-numerics, add the following to the end of template.css:
.numeric-multi .answer ul {
    margin: 0 auto 1.5em auto;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 4 years 4 months ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: davidspivak

Aligning an answer 4 years 4 months ago #76785

Awesome, that worked!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.209 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form