index is blocking content on print page when printing via browser

More
3 years 5 months ago #119164 by privetlm
privetlm created the topic: index is blocking content on print page when printing via browser
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!

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #119165 by DenisChenu
DenisChenu replied the topic: index is blocking content on print page when printing via browser
Hi,

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

template.css:
@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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: privetlm

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #119233 by privetlm
privetlm replied the topic: index is blocking content on print page when printing via browser
Thanks so much! worked perfectly :-)

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!