Check out the LimeSurvey source code on GitHub!

CSS and Array

More
5 years 2 months ago #70079 by badronald
I am sure this is simple but I am just missing it. I need to modify the CSS for a couple of rows in an array that I am using as categories. I have used CSS to remove the radio bubbles but now I want to shut off the hover effect and change the color of these rows. I cannot seem to get it.
Attachments:

Please Log in to join the conversation.

More
5 years 2 months ago #70085 by Mazi
Can you post a link to a test survey?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 2 months ago #70102 by badronald

Please Log in to join the conversation.

More
5 years 2 months ago #70111 by Mazi
There are several instances of "hover" at the template.css of your template. Have a look at:
table.question tr.array1:hover {
background-color: #A5D6DA;
}
table.question tr.array2:hover {
background-color: #A5D6DA;
}


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 2 months ago #70156 by badronald
Yes, I saw those lines, however, I want to only shut off the hover effect for the particular lines in the array I indicated with the arrows. Is this possible. Maybe by setting up a separate class?

Please Log in to join the conversation.

More
5 years 2 months ago #70159 by tpartner
#javatbd36188X2X181 tr,
#javatbd36188X2X184 tr,
#javatbd36188X2X185 tr.array1,
#javatbd36188X2X186 tr {
	background-color: #8F171A;
}	
 
#javatbd36188X2X181 th,
#javatbd36188X2X184 th,
#javatbd36188X2X185 tr.array1 th,
#javatbd36188X2X186 th {
	color: #FFFFFF;
}

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
5 years 2 months ago #70163 by badronald
Thank you.

Please Log in to join the conversation.

More
5 years 2 months ago #70166 by Mazi

badronald wrote: Thank you.

You're welcome. Also have a look at docs.limesurvey.org/The+template+editor&...g_questions_with_CSS for further information.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form