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

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Usually 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

Apfel007’s picture

Hi,

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; }

jcnventura’s picture

The 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

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info in two weeks. Closing the issue.