Welcome to the LimeSurvey Community Forum

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

Makes 5 point choice looks like Google's Linear Scale

  • alpaalpa
  • alpaalpa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 4 days ago #266821 by alpaalpa
Please help us help you and fill where relevant:
LimeSurvey version: LimeSurvey Community Edition Version 6.6.3+240909 
Own server or LimeSurvey Cloud: Own server
Survey theme/template: irrelevant (but using Fruity TwentyThree ( fruity_twentythree )
==================
I want to implement what Google Form called 'Linear Scale' where it looks like this:

Is this good ot bad?
         1  2. 3 4  5
Bad   O O O O O Good

Where O = radio button.

I try to do it with '5 point choice' or 'Array with 5 points'.

Has anyone done it?  Ideally, I want to make it a 6 points or 8 points scale (or 3)

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 4 days ago #266822 by tpartner
Please refer to the manual.

Array type question with Semantic Differential layout - www.limesurvey.org/manual/Question_type_-_Array/en

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.

  • alpaalpa
  • alpaalpa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 4 days ago #266825 by alpaalpa
Thanks. This is more or less what I'm looking for.

In the doc, the labels on the left and right-aligned, and the labels on the right and left-aligned.

I tried to use this in the custom.css:

th.answertext {
text-align: right;
}

th.control-label{
text-align: right;
}

But it doesn't seem to work. Any idea?

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 4 days ago #266827 by Joffm

In the doc, the labels on the left and right-aligned, and the labels on the right and left-aligned.

This is the default setting in all theme - except "fruity twentythree"
 
 

In my opinion this should be the same behaviour.
You may file a bug report.

In the meantime you may use this.
Code:
.ls-answers tbody .answertext {
  text-align: right;
}

And you better add an additional class that only your desired arrays are affected, like
Code:
.myarray .ls-answers tbody .answertext {
  text-align: right;
}
and my "myarray" into "css classes" (where desired)
 
Joffm

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: tpartner

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose