Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: removing help icon from template

removing help icon from template 6 years 5 days ago #49343

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
Hi, I would like that the help image icon, does not appear on the survey.
Can I remove it from template? How?

TIA
Arnaldo.

The administrator has disabled public write access.

removing help icon from template 6 years 5 days ago #49348

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6321
  • Thank you received: 1407
  • Karma: 547
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.
The administrator has disabled public write access.

removing help icon from template 6 years 5 days ago #49367

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
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)limesurvey.org'"
The administrator has disabled public write access.

removing help icon from template 6 years 5 days ago #49377

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6321
  • Thank you received: 1407
  • Karma: 547
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.
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49385

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
I want to put some help text, but I don't want icons.
I will try.

Tnx
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49387

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
Mmmmhhh,
I had not found acode like this, or similar.
And I do not understand the name of the file.
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49392

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5176
  • Thank you received: 769
  • Karma: 230
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49396

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6321
  • Thank you received: 1407
  • Karma: 547
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.
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49397

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49399

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6321
  • Thank you received: 1407
  • Karma: 547
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.
The administrator has disabled public write access.

removing help icon from template 6 years 4 days ago #49402

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
It runs.

Many thanks.
The administrator has disabled public write access.

removing help icon from template 5 years 9 months ago #53713

  • thanasix
  • thanasix's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
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
The administrator has disabled public write access.

removing help icon from template 5 years 9 months ago #53719

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5176
  • Thank you received: 769
  • Karma: 230
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

removing help icon from template 5 years 9 months ago #53722

  • thanasix
  • thanasix's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
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: 5 years 9 months ago by thanasix.
The administrator has disabled public write access.

removing help icon from template 2 years 11 months ago #100608

  • Pfitzmde
  • Pfitzmde's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Do you know if it works with LS 2.00+?
The administrator has disabled public write access.
Time to create page: 0.263 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form