How to Embed a Flipbook on Your Website
Step-by-step for WordPress, Webflow, Squarespace, Wix, and custom HTML sites.
How to Embed a Flipbook on Your Website
One of the most effective ways to use a flipbook is to embed it directly on your website. Rather than sending readers to a separate link, you can place an interactive publication right inside your existing pages - on a landing page, a blog post, a resource library, or a product page.
This guide covers how to get your ZenFlip embed code and how to use it on the most popular website platforms.
Getting Your Embed Code
Every ZenFlip publication has an embed code you can copy from your dashboard:
Go to your ZenFlip dashboard
Click on the publication you want to embed
Click the "Share" button
Select the "Embed" tab
Copy the iframe code
The embed code looks something like this:
You can adjust the width and height values to fit your page layout. The flipbook viewer is responsive and will adapt to the container you give it.
Embedding on WordPress
Using the Block Editor (Gutenberg)
Open the page or post where you want the flipbook
Click the "+" button to add a new block
Search for "Custom HTML" and select it
Paste your ZenFlip embed code into the HTML block
Click "Preview" to see how it looks
Publish or update your page
Using the Classic Editor
Open your page or post
Switch to the "Text" tab (not "Visual")
Paste your embed code where you want the flipbook to appear
Switch back to "Visual" to preview
Publish or update
WordPress Tips
If your theme has a narrow content area, set the iframe width to "100%" so it fills the available space
For a full-width flipbook, consider using a page builder like Elementor or a full-width page template
Some security plugins may strip iframe tags. If your embed disappears after saving, check your security plugin settings
Embedding on Webflow
Open your Webflow project in the Designer
Drag an "Embed" element from the Add panel onto your page
Paste your ZenFlip embed code into the code field
Close the embed editor
Adjust the size of the embed element using the Style panel
Publish your site
Webflow gives you precise control over sizing. You can set the embed container to a specific pixel height or use viewport height (vh) units for a more dynamic layout.
Embedding on Squarespace
Open your page in the Squarespace editor
Click the "+" button where you want to add the flipbook
Select "Code" from the content blocks
Paste your ZenFlip embed code
Click "Apply"
Save and publish your page
Squarespace wraps embeds in a container. If the flipbook appears too small, increase the height value in your iframe code (try 700 or 800 pixels).
Embedding on Wix
Open your site in the Wix Editor
Click "Add" in the left menu
Select "Embed Code" then "Embed HTML"
A code widget will appear on your page
Click "Enter Code" and paste your ZenFlip embed code
Click "Update"
Drag and resize the widget to fit your layout
Publish your site
Wix requires you to manually size the embed widget on the canvas. Make sure it is large enough for comfortable reading.
Embedding on Custom HTML Sites
If you manage your own HTML, paste the embed code directly into your page source:
The wrapping div centers the flipbook and sets a maximum width. Adjust these values to suit your design.
Making Your Embed Responsive
For a flipbook that scales smoothly across screen sizes, use the responsive wrapper technique:
The padding-bottom: 75% creates a 4:3 aspect ratio. For a landscape publication, try padding-bottom: 56.25% (16:9 ratio). For a portrait publication, try padding-bottom: 125%.
Best Practices for Embedded Flipbooks
Give it enough height. A flipbook that is too small forces readers to squint. On desktop, 600 pixels is a reasonable minimum height. On landing pages where the flipbook is the main content, consider 700-800 pixels or even full viewport height.
Add a title attribute. Including title="Your Publication Name" in the iframe tag improves accessibility. Screen readers use this to describe the embedded content.
Consider page load time. The flipbook loads asynchronously, so it will not slow down your page. However, placing the embed below the fold (further down the page) means it loads after your visitor sees the initial content.
Provide a fallback link. Some corporate networks block iframes. Below your embed, consider adding a text link: "Having trouble viewing? Open in a new tab."
Test on mobile. The ZenFlip viewer is responsive and supports touch gestures, but check that your page layout does not constrain the embed to an unusably small size on phones.
Embed Settings on Paid Plans
On the Starter plan and above, you have additional embed options:
Remove ZenFlip branding from the viewer
Custom domain - embed from your own domain (e.g., publications.yourcompany.com)
Password protection - require a password before the flipbook loads (Professional plan)
Troubleshooting
The embed shows a blank space: Check that your publication is set to "Public" visibility. Private publications cannot be embedded.
The iframe is being stripped: Some CMS platforms or security plugins remove iframe tags. Look for an "HTML" or "Code" block option rather than pasting into a rich text editor.
The flipbook is too small on mobile: Set the iframe width to "100%" and ensure your page container is not constraining the width. The responsive wrapper technique above helps.
The embed is blocked by a corporate firewall: Provide a direct link to the flipbook as a fallback so readers can open it in a new tab.