Welcome to the LimeSurvey Community Forum

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

index is blocking content on print page when printing via browser

  • privetlm
  • privetlm's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 11 months ago #119164 by privetlm
I put a print button in the endpage, so users can print the current page at anytime in the survey.

problem: The index is always thrown onto the page awkwardly and overlaps question text.

Are there any known workarounds for this issue? My instincts tell me no, unless I turn off the index. I realize it's kind of redundant since you get the print page/pdf creation after submitting, but my users really want to be able to print throughout the survey.

Any advice/suggestions are much appreciated!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago #119165 by DenisChenu
Hi,

Media queries
developer.mozilla.org/fr/docs/Web/CSS/Media_queries

template.css:
Code:
@media print{
#index{display:none}
}

example : github.com/LimeSurvey/LimeSurvey/blob/ma...de/template.css#L588

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: privetlm
The topic has been locked.
  • privetlm
  • privetlm's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 11 months ago #119233 by privetlm
Thanks so much! worked perfectly :-)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose