Welcome to the LimeSurvey Community Forum

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

Adjust Array Width in Semantic Differential

  • flink
  • flink's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 months ago #113864 by flink
Hey everyone,

what I want to do is have a likert scale on the left and the actual items on the right hand side. As a workaround, I thought about making an array type question and using the pipe symbol. For example,

1. | Item text

gives me the item number on the left, the scale in the middle and the item text on the right. Is it possible to adjust the array width for the left and right hand sides separately? Right now, the width is distributed evenly, but I want the left hand side to be narrow and the right hand side to have more space.

Thank you very much!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #113884 by tpartner
Replied by tpartner on topic Adjust Array Width in Semantic Differential
You can place something like this in template.css (replace "QQ" with your question ID ).

Code:
#questionQQ table.questions-list col {
  width: auto;
}
 
#questionQQ th.answertext,
#questionQQ th.answertextright {
  width: 200px;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • flink
  • flink's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 months ago #113899 by flink
Hi tpartner, thank you for your answer. Unfortunately, the code does not work. In fact, nothing changes.
I am using Version 1.92+ Build 120919, if that is important.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #113903 by tpartner
Replied by tpartner on topic Adjust Array Width in Semantic Differential
Can you activate a test survey for us to see?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • flink
  • flink's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 months ago #113904 by flink
sure!

dgp-ls.de/limesurvey/index.php?sid=37841&lang=de

like this, or do you need to access the survey backend?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #113911 by tpartner
Replied by tpartner on topic Adjust Array Width in Semantic Differential
Try this:

Code:
#question14631 table.question col {
  width: auto;
}
 
#question14631 th.answertext,
#question14631 th.answertextright {
  width: 200px;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: flink
The topic has been locked.
  • flink
  • flink's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 months ago #113912 by flink
Got it to work, thank you very much!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose