Aligning welcome, end message and group description texts

Plus d'informations
il y a 3 ans 11 mois #101006 par RingCredible
RingCredible a créé le sujet : Aligning welcome, end message and group description texts
Hello,

I have made several surveys with LimeSurvey and everything works fine. However, since the welcome, end message and 1 group description texts are pretty long, I want to align them to the left to make them easier to read.
I tried to find the code responsible for this in the template editor (template: copy_of_default (so far I only removed the clear and exit button)), but I couldn't find it. Can someone please tell me which lines of code are responsible for this?

Thanks in advance!

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #101008 par tpartner
tpartner a répondu au sujet : Aligning welcome, end message and group description texts
These can be adjusted in template.css.

Welcome message - around line 488, change this:
td.survey-welcome {
    text-align: center;
}


End message - around line 613, change this:
.completed-text {
    font-size: small;
    text-align: center;
}


Group description - add this to the end of template.css:
.group-description {
    display: block;
    text-align: left;
}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Les utilisateur(s) suivant ont remercié: RingCredible

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #101036 par RingCredible
RingCredible a répondu au sujet : Aligning welcome, end message and group description texts
Thank you for your response, it was exactly what I was looking for!

However, now that I edited it I ran into another problem. Some of the sentences are quite long, and I was wondering if it is possible to set a maximum width to a text field (so that the sentences are broken into pieces automatically) to make the text easier to read.

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #101040 par tpartner
tpartner a répondu au sujet : Aligning welcome, end message and group description texts
td.survey-welcome {
    text-align: left;
    max-width: 450px;
}


;)

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Les utilisateur(s) suivant ont remercié: RingCredible

Connexion pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant