removing help icon from template

More
7 years 1 month 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
7 years 1 month 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
7 years 1 month 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
7 years 1 month 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
7 years 1 month 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
7 years 1 month 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
7 years 1 month 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
7 years 1 month 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
7 years 1 month ago #49397 by vs_arni
vs_arni replied the topic: removing help icon from template

Please Log in to join the conversation.

More
7 years 1 month 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.

More
7 years 1 month ago #49402 by vs_arni
vs_arni replied the topic: removing help icon from template
It runs.

Many thanks.

Please Log in to join the conversation.

More
6 years 11 months ago #53713 by thanasix
thanasix replied the topic: removing help icon from template
None of the two codes work for me (LS version 1.82+(6825), default template).
Mazi, can you please state which is the given image that i should replace with the 1x1 transparent pixel?
Thanks in advance!
Thanasis

Please Log in to join the conversation.

More
6 years 11 months ago #53719 by holch
holch replied the topic: removing help icon from template
Wow, 1.82 is old, really old. Probably there have been made some changes to the template since then. It is difficult to give advice for such an old version of LS. I would really recommend to upgrade, if possible. It is really worth it. LS has improved significantly since then (in my opinion).

Have a look in the source code, where the help icon appears. There must be some element/class/id that you can address with CSS I think.

There you will also find how the help icon is called. I guess it is called help.gif or help.png. For most templates this help image isn't there because it uses the default file. I think if you put a help.gif or help.png into the template folder, LS should recognize it (at least it does this for mint_idea).

However, I would recommend to give CSS one more try.

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 11 months ago - 6 years 11 months ago #53722 by thanasix
thanasix replied the topic: removing help icon from template
The CSS solution doesn't seem to work in version 1.82 so I changed the help image and everything is ok now. Thanks! I'll upgrade asap.
Last Edit: 6 years 11 months ago by thanasix.

Please Log in to join the conversation.

More
4 years 1 month ago #100608 by Pfitzmde
Pfitzmde replied the topic: removing help icon from template
Do you know if it works with LS 2.00+?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!