Removing Hyphenation from array type questions

More
3 months 3 weeks 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?
File Attachment:


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

Thanks,
Omti90

Please Log in to join the conversation.

More
3 months 3 weeks ago #217611 by tpartner
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.
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

Please Log in to join the conversation.

More
3 months 3 weeks 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.

Please Log in to join the conversation.

More
3 months 3 weeks ago - 3 months 3 weeks ago #217664 by DenisChenu

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
<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: 3 months 3 weeks ago by DenisChenu. Reason: Why the html editor add code !
The following user(s) said Thank You: holch

Please Log in to join the conversation.

More
3 months 3 weeks ago #217670 by tpartner
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.

Please Log in to join the conversation.

More
3 months 2 weeks 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.

Please Log in to join the conversation.

More
3 months 2 weeks ago #217699 by DenisChenu

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

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now