Introducing the PDF Viewer Module for Divi

by Maciej Ekstedt | Dec 1, 2026 | Announcements, Pixel Modules

Last release we shipped Cookie Consent and Dark Mode, a cookie banner you design right in the Divi 5 builder. This release brings a module many of you have asked for: the PDF Viewer.

Menus, brochures, catalogues, guides, price lists. Most sites have a few PDFs, and most of them end up as a download link nobody clicks. With the PDF Viewer, visitors read the document right on your page. Show it as a flipbook whose pages turn like a real book, as pages that scroll down or sideways, or in the browser's own PDF viewer. Inline, or in a popup that keeps the page light until someone opens it.

3 Contents

Three ways to show a PDF

The Viewer setting decides how the document looks on the page.

Flipbook

The Flipbook shows your PDF as a book, with the first page alone as its cover. Visitors turn the pages with the buttons, the arrow keys, a click or a swipe, and the page folds the way the finger moves. On a narrow frame, the book shows one page at a time. Perfect for a restaurant menu, a lookbook or a magazine.

Choose how the pages feel in Pages. Hard Cover gives the book stiff covers with soft paper pages between them, All Hard makes every page stiff like a board book, and All Soft turns every page like thin paper.

Scroll

Scroll shows the pages one below the other, or side by side:

  1. Vertical stacks the pages. With Fill, every page is as wide as the frame and the text stays big and readable. With Whole Page, every page is shown complete and the scroll stops at each one.
  2. Horizontal lines the pages up in a row, as many as fit next to each other. Visitors scroll with a trackpad, the arrow keys or the buttons, drag the row with the mouse, or swipe it on a phone.

Default

The browser's own PDF viewer, with its toolbar for zoom, print and download. Pick the opening zoom with Initial View and the page it opens on with Start Page.

Flipbook and Scroll draw the pages themselves, so they look and work the same in every browser and on every device, phones included. Only the pages around the one being read are drawn, so even a long PDF opens quickly. And the links inside your PDF keep working, both to web pages and to other pages of the document.

Inline or in a popup

Set Display to Inline and the PDF sits right in the page, inside a frame. Set it to Popup and the page shows a card with a thumbnail, a title, a short description and a button. The PDF only loads when someone clicks the button, so a page with a dozen documents stays fast.

  1. Thumbnail or PDF Preview. Use your own image on the card, or the picture of the first page that WordPress makes when you upload a PDF.
  2. Resource libraries. Put a grid of cards on a page, one per document, and let visitors open the one they need.
  3. Accessible popup. Keyboard focus stays inside the popup, and Escape or the close button brings visitors right back.

Navigation that fits your design

Flipbook and Scroll come with their own navigation:

  1. Previous and Next buttons, styled with your own arrow color, size, background and border
  2. Page count that visitors can type into, to jump straight to a page
  3. Full Screen and Download buttons, each one a toggle

Turn on Fit Height to Page and the frame takes its height from the shape of your PDF's pages, so a page, or a spread in the flipbook, always fits, on every screen size.

Styled in the Design tab

Everything has its own group in the Design tab: the frame, the navigation, the page count, the card, the thumbnail, the button and the popup. Groups for parts you don't use stay hidden, so the settings stay short.

The card and the popup are hard to see while you edit, so two builder-only toggles help you style them. Preview Card shows the card that phones and tablets get, and Preview Popup shows the open popup right in the Visual Builder. Visitors never see these previews.

Design ideas

A few ways to put the PDF Viewer to work:

  1. Restaurant menu: a Flipbook with Fit Height to Page, so guests turn the pages like a real menu
  2. Product catalogue: a vertical Scroll with Whole Page next to a short intro, with links to your shop inside the PDF
  3. Travel or city guide: a horizontal Scroll that shows two pages side by side
  4. Resource library: a grid of cards in Popup mode, each with a thumbnail of the cover
  5. Brochure download: the Default viewer with the browser toolbar, so visitors can zoom, print and save

How to use them

  1. Update Divi Pixel from Dashboard → Updates
  2. Open a page in the Divi 5 Visual Builder and add the Pixel PDF Viewer module
  3. Upload your PDF or pick one from the media library
  4. Choose Flipbook, Scroll or Default in Viewer, and Inline or Popup in Display
  5. Set the frame's height in Design → Frame, or turn on Fit Height to Page

For every setting, see the PDF Viewer documentation

Summary

This release adds the PDF Viewer module for Divi 5: a flipbook with turning pages, vertical and horizontal scrolling, the browser's own viewer, a popup mode with cards and thumbnails, working links inside the PDF, and full styling in the Design tab. As always, the release also includes a list of fixes and improvements, which you'll find in the changelog.

Update Divi Pixel from Dashboard → Updates to get it. Not using Divi Pixel yet? It includes 50+ Divi 5 ready modules and dozens of theme and builder enhancements, backed by our 14 day money back guarantee. See Pricing

Built a menu or a catalogue with the PDF Viewer? Show us in the Divi Pixel Community on Facebook.

Maciej Ekstedt

Maciej Ekstedt

Maciej, co-founder of Divi Pixel, is a passionate web designer with over 15 years of experience. He has developed dozens of loved Divi products that have earned recognition from the global community. When he's not working on new ideas, he enjoys gardening, walking his dog, and spending time with friends.