Check out the LimeSurvey source code on GitHub!

Aligning an answer

More
4 years 11 months ago #76765 by davidspivak
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

Attachments:

Please Log in to join the conversation.

More
4 years 11 months ago #76779 by tpartner
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.

Please Log in to join the conversation.

More
4 years 11 months ago #76782 by davidspivak

Please Log in to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #76784 by tpartner
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 11 months ago by tpartner.
The following user(s) said Thank You: davidspivak

Please Log in to join the conversation.

More
4 years 11 months ago #76785 by davidspivak
Awesome, that worked!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form