Welcome to the LimeSurvey Community Forum

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

Turning off auto hyphenation with access to template.css

  • aarontimos
  • aarontimos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago - 2 years 6 months ago #219967 by aarontimos
Hello,

I've seen  forums.limesurvey.org/forum/can-i-do-thi...ning-off-hyphenation . however, I don't have access to the template.css due to a lack of administrator privileges. Is it possible to switch off the autohyphenation for each question via edit question>display>css class(es)?

I have tried each of the following permeations (i.e. 4 in total -  didn't do them all at once) but none of them have worked:
Code:
 [code][code]#outerframeContainer { hyphens: none; word-wrap: none; }
Code:
[/code][/code]
Code:
[code][code].ls-answers tbody .answertext {text-align: right; hyphens: none; word-wrap: none;}
Code:
[/code][/code]
Code:
[code][code].ls-answers {text-align: right; hyphens: none; word-wrap: none;}
[/code][/code]
Code:
[code][code].answertext {text-align: right; hyphens: none; word-wrap: none;}
[/code][/code]

I am trying to make all the subquestions in an array appear right justified without hyphenation.

Many thanks

Aaron
Last edit: 2 years 6 months ago by aarontimos. Reason: More detail
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago - 2 years 6 months ago #219971 by DenisChenu

Hello,

I've seen  forums.limesurvey.org/forum/can-i-do-thi...ning-off-hyphenation . however, I don't have access to the template.css due to a lack of administrator privileges. Is it possible to switch off the autohyphenation for each question via edit question>display>css class(es)?


 
No : CSS class is not style. You can onkly add class name.

You can add a style in group description for example , except XSS is set …
Code:
<style>
#outerframeContainer { hyphens: none; word-wrap: none; }
</style>

(PS : this new forum bbcode system are really awfull …)
 

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 6 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose