Welcome to the LimeSurvey Community Forum

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

Removing Hyphenation from array type questions

  • Omti90
  • Omti90's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 9 months ago #217601 by Omti90
Hello,
I'm currently designing a survey and I'm facing the problem that hyphenation in array type questions can look really ugly. Is it possible to turn that off somehow? Or only trigger it where absolutely necessary?
[img


Especially on mobile devices this leads to some incredibly ugly looking questions.

Thanks,
Omti90
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217611 by tpartner
Replied by tpartner on topic Removing Hyphenation from array type questions
Hyphenation is used because there is limited space.

You can add something like this to your custom.css file but I don't think you will be pleased with the results.
Code:
table.subquestion-list th {
  word-wrap: normal;
  -moz-hyphens: none;
  hyphens: none;
}

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: DenisChenu
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217623 by holch
In your case I would format your scale text better.

Don't just copy it in as is from word.

For example, I would put the numbers all at the end and in a separate line and have the text on top. You can use <br/>. Generally looks better. Not sure how this works on mobile screens though.

But with the numbers all in one line at the bottom, it is a lot easier to "grasp" for respondents.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago - 2 years 9 months ago #217664 by DenisChenu
Replied by DenisChenu on topic Removing Hyphenation from array type questions

For example, I would put the numbers all at the end and in a separate line and have the text on top. You can use <br/>. Generally looks better. Not sure how this works on mobile screens though.


Maybe
Code:
<br class='hidden-xs'>
?
getbootstrap.com/docs/3.3/css/#responsive-utilities

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 2 years 9 months ago by DenisChenu. Reason: Why the html editor add code !
The following user(s) said Thank You: holch
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217670 by tpartner
Replied by tpartner on topic Removing Hyphenation from array type questions
Yes, I use that all the time.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217696 by holch
I am not familiar with this css class. I assume it hides the BR-Tag on "extra small" screens?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217699 by DenisChenu
Replied by DenisChenu on topic Removing Hyphenation from array type questions

I am not familiar with this css class. I assume it hides the BR-Tag on "extra small" screens?
 
Link have a doc : getbootstrap.com/docs/3.3/css/#responsive-utilities

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: holch
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose