Welcome to the LimeSurvey Community Forum

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

How to hide the exclamation mark of a hidden tip

  • Vinicos
  • Vinicos's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #197224 by Vinicos
Hello,

I have hidden some subquestion validation tips, so that they appear only in case the participants commit a error. However, the exclamation mark still appears right under the question (just like the attached pic), even before the participants' answers. How can I hide the exclation mark as well?

LS version 3.17.7+190627

Thanks
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #197229 by Joffm
Hi,
if you examine this part with a web development tool, that is included in each modern browser,
you see this


So you obviously have to change the value of "content"
By the way: this is the code of the used fontawesome icon.

So just enter to your custom.css or in the question code (here with <style> tags).
Code:
.fa-exclamation-circle::before {
    content: "";
}

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #197282 by tpartner
I would be a little more specific in case you want to use that icon elsewhere.

Code:
.ls-question-message .fa-exclamation-circle::before {
    content: "";
    display: none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Vinicos
  • Vinicos's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #197302 by Vinicos
Thanks.
It works perfectly now
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 9 months ago #197416 by DenisChenu
Replied by DenisChenu on topic How to hide the exclamation mark of a hidden tip

Vinicos wrote:
I have hidden some subquestion validation tips, so that they appear only in case the participants commit a error.

Can you give your css ?

Because
Code:
.ls-em-success{display:none}
hide the exclamation mark too.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Vinicos
  • Vinicos's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #197430 by Vinicos
Thanks, DenisChenu, but I have already solved the issue.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #197453 by holch

Thanks, DenisChenu, but I have already solved the issue.


Nevertheless, it would be nice to post your solution here, for others to be able to use it as well.

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.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #197455 by Joffm
I think @vinicos wanted to say that he used Tony's solution, which was an improvement of mine.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Vinicos
  • Vinicos's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #197471 by Vinicos
Exactly. I have just followed the instructions that both Joffm and Tpartner offered, as you may see in my previous answers.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 9 months ago #197482 by DenisChenu
Replied by DenisChenu on topic How to hide the exclamation mark of a hidden tip
I still don't understans why it's not hidden before ....

.ls-em-success{display:none}

Still a better solution

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #197483 by tpartner
You're the best! :)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 9 months ago #197507 by DenisChenu
Replied by DenisChenu on topic How to hide the exclamation mark of a hidden tip

tpartner wrote: You're the best! :)

I didn't say this, maybe there are better option ...

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose