Aligning an answer

More
8 years 3 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:
The topic has been locked.
LimeSurvey Partners
More
8 years 3 months ago #76779 by tpartner
Replied by tpartner on topic Aligning an answer
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.
Official LimeSurvey Partner - partnersurveys.com
The topic has been locked.
More
8 years 3 months ago #76782 by davidspivak
The topic has been locked.
More
8 years 3 months ago - 8 years 3 months ago #76784 by tpartner
Replied by tpartner on topic Aligning an answer
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.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 8 years 3 months ago by tpartner.
The following user(s) said Thank You: davidspivak
The topic has been locked.
More
8 years 3 months ago #76785 by davidspivak
Replied by davidspivak on topic Aligning an answer
Awesome, that worked!
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now