removing help icon from template

More
6 years 9 months ago #49343 by vs_arni
vs_arni created the topic: removing help icon from template
Hi, I would like that the help image icon, does not appear on the survey.
Can I remove it from template? How?

TIA
Arnaldo.

Attachments:

Please Log in to join the conversation.

More
6 years 9 months ago #49348 by tpartner
tpartner replied the topic: removing help icon from template
It's not a placeholder that can be removed from the template but you can hide it with CSS.

The code will vary depending on the template but the following will work for the default template:
.survey-question-help img {
  display: none;
}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 9 months ago #49367 by Mazi
Mazi replied the topic: removing help icon from template
Two other solutions:

a) Remove all text (also HTML line breaks) from the question help text. You might have to switch to the editors source code mode in order to delete everything.

b) Replace the given image with a 1x1 transparent pixel image. But tpartners solution is the better solution.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 9 months ago #49377 by tpartner
tpartner replied the topic: removing help icon from template

Remove all text (also HTML line breaks) from the question help text

Yes, good tip for questions without intentional help text inserted. I was thinking more along the lines of questions with help text inserted and displayed but not the image.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 9 months ago #49385 by vs_arni
vs_arni replied the topic: removing help icon from template
I want to put some help text, but I don't want icons.
I will try.

Tnx

Please Log in to join the conversation.

More
6 years 9 months ago #49387 by vs_arni
vs_arni replied the topic: removing help icon from template
Mmmmhhh,
I had not found acode like this, or similar.
And I do not understand the name of the file.

Please Log in to join the conversation.

More
6 years 9 months ago #49392 by holch
holch replied the topic: removing help icon from template
You need to insert the code that tpartner has posted into the CSS file of your template. But of course, this depends very much on the template itself. His code should work for the default template.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 9 months ago #49396 by tpartner
tpartner replied the topic: removing help icon from template
Arni, is your survey activated? can I have a look?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 9 months ago #49397 by vs_arni
vs_arni replied the topic: removing help icon from template

Please Log in to join the conversation.

More
6 years 9 months ago #49399 by tpartner
tpartner replied the topic: removing help icon from template
Okay, place the following at the end of template.css
div.questionhelp img {
  display: none;
}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now