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

More
10 years 4 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.
More
10 years 4 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 support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: privetlm
The topic has been locked.
More
10 years 4 months ago #119233 by privetlm
Thanks so much! worked perfectly :-)
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose