Welcome to the LimeSurvey Community Forum

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

Just how to apply CSS on questions (Stupid things)

  • elliotog
  • elliotog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 hours 3 minutes ago #270944 by elliotog
OK fine, 

File Attachment:

File Name: limesurvey...4451.lss
File Size:22 KB

lss question in attachment

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 hours 21 minutes ago #270946 by Joffm
Sorry, I do not see any css in your question text.
 
and get this - obviously.
 

If I enter the snippet
Code:
<style type="text/css">
.fa-exclamation-circle::before {
content: "";
}
</style>
I get this
 
If you entered the snippet and it disappeared you seem to have no rights to do this.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • elliotog
  • elliotog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 hours 59 minutes ago #270947 by elliotog
OK thanks for your patience, LimeSurvey is fundamentally not my cup of tea but if my university makes things worse .... ^^'
Have a good evening then !
Elliot

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 hours 52 minutes ago #270955 by holch
I don't think CSS can be forbidden from within Limesurvey (e.g. via the XSS filter).

So either this is an issue with a custom survey theme used by the university, or it was not implemented correctly.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 hours 6 minutes ago #270956 by Joffm
Yes, you can.
I won't produce a video to prove.
But here

A normal user (with XSS filter ON)
 

In the sourcecode editor I enter
 
I "Save & Close"
I "Edit" the question again
 


The same in the HTML editor
 
Close the source code, still "maroon"
 
"Save & Close" and "Edit"
 
Gone.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose