Every week, we provide you with a new and free Divi layout pack which you can use for your next project. Along with every layout pack, we also share a use case thatβll help you take your website to the next level.
This week, as part of our ongoing Divi design initiative, weβre going to show you how to add book previews to your website using Diviβs Author Layout Pack and the free 3D Flipbook plugin. Adding previews to your website helps visitors in their decision making. They can get a taste of your product and be convinced of the content that youβre sharing. To share a book preview, you will need a PDF file containing the number of pages of your (e)book you are willing to share for free.
- 1 Sneak Peek
- 2 Part 1: Download & Install the Free Interactive 3D FlipBook Plugin
- 3 Part 2: Upload Your Book Preview PDF File
- 4 Part 3: Generate Shortcode #1: Lightbox Activation Link
- 5 Part 4: Add Lightbox Activation Link to Hero Section of Home Page
- 6 Part 5: Generate Shortcode #2: Fullscreen
-
7
Part 6: Create Book Preview Section using Fullscreen Book Preview
- 7.1 Step 1: Go to Homepage & Enable Visual Builder
- 7.2 Step 2: Add New Section Below Hero Section
- 7.3 Step 3: Add Section Gradient Background
- 7.4 Step 4: Add Two-Column Row to Section
- 7.5 Step 5: Change Row Sizing
- 7.6 Step 6: Clone Text Modules, Change Content & Place in Column 1
- 7.7 Step 7: Add Text Module to Column 2
- 7.8 Step 8: Add Shortcode to Text Module
- 8 Final Thoughts
Sneak Peek
Part 1: Download & Install the FreeΒ Interactive 3D FlipBook Plugin
Step 1: Download the Plugin
To create the book preview, weβll need to download the free Interactive 3D FlipBook plugin by going to the following page and clicking on the download button.
Step 2: Upload & Install the Plugin
Once youβve downloaded the plugin, and located it on your computer, go ahead and upload it to your plugins by going to Plugins > Add New.Β After uploading, make sure you activate the plugin as well.
Part 2: Upload Your Book Preview PDF File
Step 1: Add New 3D Flipbook
The first thing youβll need to do, after uploading and installing the 3D Flipbook plugin, is adding your book preview PDF files. You can add up to as many book previews as you desire. Go to 3D Flipbook> All Books > Add New.
Step 2: Upload Your Book Preview PDF File
Upload every PDF file as a separate book. This includes giving it a title as well.
Part 3: Generate Shortcode #1: Lightbox Activation Link
Step 1: Go to Generate Shortcode
Weβre going to show you two ways on how to include these book previews. The first one is on click and the second one will appear on the page itself. Weβll start off with the book preview on click. Go to 3D Flipbook > Shortcode Generator.
Step 2: Choose PDF File
Within the 3D Flip Book tab, select the PDF file you want to use.
Step 3: Change View Mode
Then, switch over to the View mode tab and select βLightbox activation linkβ.
Step 4: Copy Shortcode
The shortcode will automatically update according to the changes you make. Go ahead and copy this shortcode. Weβll need it in the next part of this tutorial.
Part 4: Add Lightbox Activation Link to Hero Section of Home Page
Step 1: Go to Homepage & Enable Visual Builder
Itβs time to add the book preview on click to your homepage! Go ahead and open the page with the Visual Builder.
Step 2: Remove Book Image Module in First Column of Hero Section
Then, remove the Image Module in the first column of the hero section. Because of the way the shortcode functions, weβre going to use a Code Module instead.
Step 3: Add Code Module Instead
Go ahead and add a new Code Module to the first column.
Step 4: Add Your Shortcode
Next, add the shortcode youβve created to the content box of this Code Module.
Step 5: Add Image HTML Between Shortcode
And right in the middle of the shortcode, you have the space to add some additional HTML code. Weβll use this HTML code to add an image. Copy the following HTML code and replace the URL with your own Image URL:
<img src="place your image url here"/>
Step 6: Change Sizing of Code Module
Of course, we want this image to be responsive. Thatβs why weβll change the Width for tablet and phone to β52%β in the Sizing subcategory. Go ahead and click on the image after saving and exiting the Visual Builder to see the result!
Part 5: Generate Shortcode #2: Fullscreen
Step 1: Go to Generate Shortcode
Want to include the book preview on the page itself without having to click somewhere? No problem! You can easily do that as well. Go back to 3D Flipbook > Shortcode Generator.
Step 2: Choose PDF File
Select the PDF file of your choice again.
Step 3: Change View Mode
Then, move on to the View mode tab and instead of choosing the βLightbox activation linkβ option, choose βFullscreenβ instead.
Step 4: Copy Shortcode
Copy the shortcode that automatically adjusts itself to the changes you make.
Part 6: Create Book Preview Section using Fullscreen Book Preview
Step 1: Go to Homepage & Enable Visual Builder
Weβre going to add this book preview to our page next. Go to your homepage and enable the Visual Builder.
Step 2: Add New Section Below Hero Section
Right below the hero section, add a new regular section.
Step 3: Add Section Gradient Background
To match it with the hero section, weβre going to use the following gradient background for this section:
- Color 1: #f4f4f4
- Color 2:Β rgba(148,166,191,0.34)
- Gradient Direction: 90deg
- Start Position: 60%
- End Position: 60%
Step 4: Add Two-Column Row to Section
Once youβre done with the section settings, add a two-column row to it.
Step 5: Change Row Sizing
Before adding any modules, open the row settings and enable the βMake This Row Fullwidthβ option within the Sizing subcategory of the Design tab.
Step 6: Clone Text Modules, Change Content & Place in Column 1
Weβre going to save ourselves some time by cloning modules that are already on the page instead of creating ones from scratch. Locate the following two Text Modules on your page and drag them to the first column of the row youβve just created:
Step 7: Add Text Module to Column 2
Weβll add the book preview to the second column of this row by adding a new Text Module to it.
Step 8: Add Shortcode to Text Module
Place the shortcode youβve copied within the Content box of this Text Module and there you have your result!
Final Thoughts
In this use case blog post, weβve shown you how to add book previews to your website with Diviβs Author Layout Pack and the 3D Flipbook plugin. This use case is part of our ongoing Divi initiative where our design team shares a new layout pack with you each and every week. If you have any questions; make sure you leave a comment in the comment section below!
Thanks for this information. It is really helpful for me because I want to use my client website. He is author.
Loading Divi Layout Packs is NOT WORKING. This is a problem/bug that the Divi theme has. There are a lot of tickets opened in support. Nobody on ET Support team gives straight answer. How about you admit you have a problem and explain that you’ll fix it?
I’m a member since the beginning of Elegant Themes and I’m not happy. This is a big issue since all the Layouts are actually ElegantThemes WP themes we pay for.
I had what sounds like this same problem, then I tried clearing my browser cache to see if it made a difference, The outcome was that I no longer had the problem. It may be coincidental, however clearing my browser cache helped.
This is wonderful! Thanks for putting this tutorial together.
I agree with another poster… a demo would be most valuable π
I couldn’t find a link in the article.
Cheers!
Yes this is great information.I would love to see it in action on a live site.
You should add a demo to have a taste of the result before trying it.
Since the author layout pack includes an ecommerce shop page, could we also get a layout for individual product (book) pages?
This layout pack is one of the best things you guys have produced. Very helpful, on many levels. Thanks!
+1
If you really want to do a customized product book page you need the woo layout injector plugin.
Great result, thx π