Welcome to the LimeSurvey Community Forum

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

location of theme css's?

  • FrankyQuest
  • FrankyQuest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months ago #192840 by FrankyQuest
location of theme css's? was created by FrankyQuest
hi,

i want to modify some css for my questions like the background hover, with the inspection tool i found it in the file: /superhero.min.css, but when i go to the theme editor i cant find that file, i can see only theme.css and custom.css

any idea how to modify those files of the bootstrap theme in specific superhero?

thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago - 4 years 3 months ago #192843 by tpartner
Replied by tpartner on topic location of theme css's?
You cannot edit superhero.min.css but you can override it with new rules in custom.css.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 3 months ago by tpartner.
The topic has been locked.
  • FrankyQuest
  • FrankyQuest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months ago #192847 by FrankyQuest
Replied by FrankyQuest on topic location of theme css's?
ok and could you please tell me how, in my exemple its:
.table-hover>tbody>tr:hover
{ backgroud-color: ... }

any help is really appreciated.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago - 4 years 3 months ago #192853 by tpartner
Replied by tpartner on topic location of theme css's?
Simply something like this:

Code:
body .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.
Last edit: 4 years 3 months ago by tpartner.
The topic has been locked.
  • FrankyQuest
  • FrankyQuest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months ago #192860 by FrankyQuest
Replied by FrankyQuest on topic location of theme css's?
perfect it worked, so basically i want also show an alert popup when i click the "next " button in the questions, i have to add something in the css or custom js? and if yes what exactly?

the alert must show the correct answer is Q1.show==A3 where A3 is the code of the correct answer, and the correct answer is always that one that has the code A3.

if you will be able to help me in this i will be the happiest person on earth, im struggling with this for a month now
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #192864 by tpartner
Replied by tpartner on topic location of theme css's?
You have asked that question about the pop-up in at least 3 different threads now. If I had a solution, I would have given it.

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

Lime-years ahead

Online-surveys for every purse and purpose