Welcome to the LimeSurvey Community Forum

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

Changing background color of hover effect on matrix question types

  • findiron
  • findiron's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago - 4 years 5 months ago #189934 by findiron
Hello guys,

I'm stuck changing the background color when hovering over a table line of the matrix question type. (See attached screenshot)
I tried it different ways but somehow I can't affect this behavior at all. I only want to change the background color to a specific hex value.

Unfortuantely, I am not very comfy with CSS or JS.

I hope you guys can help me with this or at least point me in the right direction. Thank you!

Best regards
Sebastian

Edit: I'm using LimeSurvey Version 3.17.9+190731
Last edit: 4 years 5 months ago by findiron.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #189938 by tpartner
What theme are you using?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • findiron
  • findiron's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #189940 by findiron
I'm using an extended vanilla theme.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #189944 by tpartner
Add something like this to the end of your custom.css file:

Code:
.table-hover > tbody > tr:hover {
  background-color: #F5F5F5;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: findiron
The topic has been locked.
  • findiron
  • findiron's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #189945 by findiron
Thank you so much for this quick solution!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose