I created a sub-theme from Zen.

When I used the browser's print function to print the web pages ,All parts are normal, but on each resources following a URI address. reference attached picture.

I ask what is causing this problem and how to resolve.

The red region is URI address

CommentFileSizeAuthor
zen-print-issue.png264.99 KBhoecake
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

echoz’s picture

Component: PHP/JS code » CSS/SASS/HTML markup
Priority: Critical » Normal
Status: Active » Fixed

This is intentional. In the print stylesheet (_print.scss or print.css), you will see the link attributes there to add the visible URL after useful links, since a printed page isn't clickable.

hoecake’s picture

Thank you echoz , i got it. thank you very much.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

hoecake’s picture

Hello echoz , Could you please tell me how to disable the print url attributes? cos i can't do it as i try followed your message.

echoz’s picture

In print.css (or _print.scss if you're using sass), comment out the ruleset under the comment "Add visible URL after links."