Mr_Thomas
Mr_Thomas

Reputation: 869

Dokuwiki - Hide Page Header Information

In my Wiki, at the top of every page, I want the user to be able to download the page in either Word or PDF. The Word download has a command that allows you to NOT export a portion of the page. The PDF plugin I'm using (DW2PDF) does not have such a feature that I can find.

Is there a way to exclude a portion of the page? --OR-- Is there a way to tell the plugin I only want to print a certain area of the page?

Below is an example of what I'm experiencing -- I don't want to export the red and blue buttons to the PDF.

Hide These Buttons

Upvotes: 0

Views: 217

Answers (1)

trapper_hag
trapper_hag

Reputation: 790

You can hide the elements with CSS, e.g.

@media print {

  #redbutton, #bluebutton {
    display: none;
  }

}

Upvotes: 0

Related Questions