Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2009 at 18:36 UTC
Updated:
20 Aug 2009 at 02:42 UTC
Hi there,
how to hide the links like "Leave comment" etc. in the pdf? I tried to use css .. .links{ display: none} But it doesn't work.. It seems it's melted in the content div?
Cheers
Comments
Comment #1
jcnventuraUsually it shouldn't be, but it depends a lot on the specifics of the node.. In the normal case, those 'Leave comments' links are part of the links area and are not presented as part of the node content.. If someone decides to mess that up and make it part of the content, the print module has no way of knowing it isn't 'real' content..
I can't help you further without a better explanation/description of the problem.. Do any other links also show?
João
Comment #2
Apfel007 commentedHi,
all links were shown in pdf and are underlined. I use the "print pdf link" in a view header.
Is it right that I can use the css classes of my nodes in the print.css? I tried it with no success...
Example: #content{ display: none; }
Comment #3
jcnventuraThe CSS styles that are defined by the Drupal template are not available. The ones internal to the node content are still usable.
I would need to see a page that is causing this problem to try to solve this. With the information you're giving me, I can't really pinpoint where the problem is.
João
Comment #4
jcnventuraNo further info in two weeks. Closing the issue.