Color for questions

More
1 month 4 days ago #181764 by FERNANDA1206
Hi Joffm

I need help to change the background color of the group description but I can´t change, Can you help me please?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 month 4 days ago - 1 month 4 days ago #181787 by Joffm
Replied by Joffm on topic Color for questions
Hi,

you can do it the very easy way - without changing anything in the template.
Just insert in your group description some css:
Like here:
<div style="background:#ffff88;color:blue;font-style:italic;border:1px solid red;padding:5px 15px 5px 15px">
<p>This is my long group description.</p>

<p>Here a second line.</p>
</div>



or... - however you want:
<div style="background:#ddffff;color:ffffdd;font-weight:normal !important;border:1px solid green;border-radius:5px;text-align:center;margin-left:20px;margin-right:20px">
<p>This is my long group description.</p>

<p>Here a second line.</p>
</div>




Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 1 month 4 days ago by Joffm.

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #181798 by FERNANDA1206
Replied by FERNANDA1206 on topic Color for questions
Thank you Joffm but is the only way to do this, because I see the container of group question is in the same color (gray) and I need change that property, I try change top_container but the color is the same and i not have acces to server files

Please Log in or Create an account to join the conversation.

More
1 month 3 days ago - 1 month 3 days ago #181815 by DenisChenu
Replied by DenisChenu on topic Color for questions
The best way are create your own css class in template.css
And use it in Question Css class attribute

A sample (done with SkelVanilla and panel class)

Try adding «alert alert-danger» to the question css class to better understand.

PS : i move your post to a new topic : because it's clearly not reloted to previous one.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 1 month 3 days ago by DenisChenu.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!