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 [revisited]

  • mopodendo
  • mopodendo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207226 by mopodendo
I am trying to change the hover background color of table rows in a matrix question.
I tried the solution in this thread: forums.limesurvey.org/forum/design-issue...atrix-question-types
But no change unfortunately. In my survey it's loading
Code:
.fruity .table-hover > tbody > tr:hover > th {
    background-color: #f5f5f5;
}

from sea_green.css, but nothing from custom.css. I am modifying a fruity design.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago - 3 years 5 months ago #207227 by tpartner
1) What LimeSurvey version are you using?

2) Have you extended your theme as described here - manual.limesurvey.org/New_Template_System_in_LS3.x ?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 5 months ago by tpartner.
The topic has been locked.
  • mopodendo
  • mopodendo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207233 by mopodendo
1) I am Using Version 3.23.7+201006
2) I extended the fruity theme and applied css changes in the custom.css
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207236 by tpartner
If you are trying to target the array rows, you do not need the th selector.

Code:
.fruity .table-hover > tbody > tr:hover {
    background-color: red;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • mopodendo
  • mopodendo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #207237 by mopodendo
Tried this, no changes though.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207240 by tpartner
It works for me, you must have a caching problem.

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: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose