> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-set-up-the-ebook-viewer.md).

# How to set up the e-book viewer

Set the default theme for e-books and stamp PDF and EPUB files with a per-student watermark

Pick the reading theme students start with, and turn on a watermark that stamps their own details into PDF and EPUB files.

### 1. Open the viewer settings

In the LDT Online Courses app, go to **Settings** -> **E-book viewer**.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-908d123054df0e3548a1fe27ec675c167d30e45e%2Fhow-to-set-up-the-ebook-viewer-step-1.png?alt=media" alt="Clicking Settings in the Shopify admin sidebar, then E-book viewer in the app&#x27;s Settings list"><figcaption></figcaption></figure>

### 2. Choose the default theme

**Background theme** sets how the reader opens an e-book — **Sepia** in the picture below, and the other themes in the list.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-cabd5ebe0edbc171dfa7989915dc2fd34d44b319%2Fhow-to-set-up-the-ebook-viewer-step-2.png?alt=media" alt="The Background theme selector set to Sepia"><figcaption></figcaption></figure>

### 3. Turn on a watermark

Under **Watermark settings** there are two separate stamps:

* **PDF watermark** — **Auto stamp** adds a watermark to every PDF a student opens; switching it on also reveals **Stamp strategy**, where you choose all pages, the first or last page only, odd or even pages, or a page range. **Customize PDF watermark** opens the stamp editor: font, size, colour, opacity, position and padding.
* **EPUB watermark** — **Auto stamp EPUB** does the same for e-books, and **Customize EPUB watermark** opens its editor.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-0330441414d5bf41aed347ba0b0d26e4dff5810d%2Fhow-to-set-up-the-ebook-viewer-step-3.png?alt=media" alt="The Watermark settings card with the PDF watermark and EPUB watermark switches and their Customize buttons"><figcaption></figcaption></figure>

### Result

Students open e-books in your chosen theme, and every PDF or EPUB they read carries their own watermark — so a file that gets shared points back at the student who leaked it.

### Troubleshooting

* **The stamp does not appear.** Each stamp has its own switch: turning on PDF watermarking does nothing for EPUB files, and the other way round.
* **The stamp shows on pages you did not want.** Open the **PDF watermark** section and change **Stamp strategy**, or the page range.
* **A student sees no theme change.** The default theme applies to files the viewer opens; a student can still change the theme while reading.

### Related pages

* [How to set up the video player](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-set-up-the-video-player.md)
* [How to Create a Lesson with a Downloadable PDF for Students](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-create-a-lesson-with-a-downloadable-pdf-for-students.md)
* [How to Create a Lesson with Direct Video Upload](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-create-a-lesson-with-direct-video-upload.md)
