Welcome to the LimeSurvey Community Forum

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

Color for questions

  • FERNANDA1206
  • FERNANDA1206's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #181764 by FERNANDA1206
Color for questions was created 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?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago - 5 years 1 month 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
Last edit: 5 years 1 month ago by Joffm.
The topic has been locked.
  • FERNANDA1206
  • FERNANDA1206's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month 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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago - 5 years 1 month 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 , plugin development .
I don't answer to private message.
Last edit: 5 years 1 month ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose