Whether youโre selling a physical book or an e-book, having an effective landing page for it can do wonders. You can approach this landing page the traditional way, or you can turn it into a book preview landing page. A book preview landing page allows people to read certain parts or chapters of your book in advance. Itโs also equipped with anchor links that make navigating through the different parts or chapters seamless. To top it off, you also want to put a CTA in the spotlight thatโll drive traffic to wherever youโre selling your book.
In this tutorial, weโll recreate a stunning book preview landing page from scratch with Divi. Youโll also be able to download the layout JSON for free if you want to add it to your website right away.
Letโs get to it!
- 1 Preview
- 2 Download the Book Preview Landing Page Layout for FREE
- 3 Download For Free
- 4 You have successfully subscribed. Please check your email address to confirm your subscription and get access to free weekly Divi layout packs!
-
5
Letโs Start Recreating!
- 5.1 Add New Regular Section
- 5.2 Add Row
- 5.3 Add Text Module #1 to Column 1
- 5.4 Add Divider Module to Column 1
- 5.5 Add Text Module #2 to Column 1
- 5.6 Clone Text Module #2 Twice
- 5.7 Add Text Module to Column 2
- 5.8 Clone Text Module Twice
- 5.9 Add Text Module to Column 3
- 5.10 Add Button Module to Column 3
- 5.11 Style Scrollbar
- 6 Preview
- 7 Final Thoughts
Preview
Before we dive into the tutorial, letโs take a quick look at the outcome across different screen sizes.
Desktop
Mobile
Download the Book Preview Landing Page Layout for FREE
To lay your hands on the free book preview landing page layout, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our newsletter by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If youโre already on the list, simply enter your email address below and click download. You will not be โresubscribedโ or receive extra emails.
Letโs Start Recreating!
Subscribe To Our Youtube Channel
Add New Regular Section
Spacing
Start by creating a new page and add a regular section to it. Open the section settings and remove all custom top and bottom padding.
- Top Padding: 0px
- Bottom Padding: 0px
Add Row
Column Structure
Continue by adding a new row to the section using the following column structure:
Background Color
Without adding any modules yet, open the row settings and add a white background color.
- Background Color: #ffffff
Column 3 Gradient Background
Add a gradient background to the third column as well.
- Color 1: #6a30ff
- Color 2: #a202ff
- Column 3 Gradient Type: Linear
- Column 3 Gradient Direction: 166deg
Sizing
Then, go to the sizing settings and allow the row to take up the entire width of the screen by adding the following sizing settings:
- Use Custom Gutter Width: Yes
- Gutter Width: 1
- Equalize Column Heights: Yes
- Width: 100%
- Max Width: 100%
Spacing
Move on to the spacing settings and remove the custom top and bottom padding of the row. Add some padding values to the first and third column as well.
- Top Padding: 0vw
- Bottom Padding: 0vw
- Column 1 Top Padding: 15vw (Desktop), 10vw (Tablet & Phone)
- Column 2 Bottom Padding: 15vw (Desktop), 10vw (Tablet & Phone)
- Column 1 Left Padding: 7vw
Column 2 CSS ID
As you can notice in the preview of this post, thereโs a scroll bar attached to the second column. If you want to style this scrollbar later on the post, go ahead and add a CSS ID to the second column.
- Column 2 CSS ID: style-scrollbar
Column 2 Main Element
The next thing weโre going to do is allow the column to be scrollable by adding the following lines of CSS code to the column 2 main element:
overflow-y: scroll; height: 57.87vw; scroll-behavior: smooth;
Add Text Module #1 to Column 1
Add Content
Now that weโve modified all row settings, we can start adding the modules! Start with a Text Module in column 1 and add some content of your choice.
Text Settings
Go to the text settings of the module and make some changes.
- Text Font: Lato
- Color: #666666
- Text Size: 1.6vw (Desktop), 3vw (Tablet), 4vw (Phone)
- Text Line Height: 2vw
Add Divider Module to Column 1
Visibility
The next module weโll add is a Divider Module. Make sure the โShow Dividerโ option is enabled.
- Show Divider: Yes
Color
Then, go to the design tab and change the color.
- Color: #5802ed
Sizing
Play around with the sizing values as well.
- Divider Weight: 4px
- Width: 3vw (Desktop), 6vw (Tablet), 9vw (Phone)
- Height: 0px
Spacing
And add some custom top and bottom padding to create space.
- Top Margin: 1vw (Desktop), 3vw (Tablet), 4vw (Phone)
- Bottom Margin: 7vw
Add Text Module #2 to Column 1
Add Content
On to the third module, which is another Text Module. Here, weโve added a symbol (โบ) followed by the first chapter title to the content box.
Add Link
Weโre linking this entire module to an anchor ID which weโll add later on this post.
- Module Link URL: https://yourwebsite.com/pagetitle/#chapter-1
Text Settings
Continue by going to the text settings and style the content exactly the way you want to.
- Text Font: Lato
- Text Font Weight: Light
- Text Color: #666666
- Text Size: 1.3vw (Desktop), 2vw (Tablet), 3.3vw (Phone)
Spacing
Add some custom top and bottom padding as well.
- Top Padding: 1vw
- Bottom Padding: 1vw
Clone Text Module #2 Twice
Once youโre done modifying the Text Module, clone it twice (or up to as many chapters as you want to share).
Change Content
Modify the content of each one of the duplicates.
Change Links
Along with the anchor ID at the end of the module link URL. In this case, that means adding โ#chapter-2โ to the first duplicate and โ#chapter-3โ to the second one.
Add Text Module to Column 2
Add Content
On to the next column, which is a scrollable one. Here, weโre going to use Text Modules to add different pages of the book preview. Start by adding the first Text Module with some content of your choice.
Background Color
Then, go to the background settings and add a white background color.
- Background Color: #ffffff
Text Settings
Modify the text settings as well.
- Text Font: Lato
- Text Size: 0.8vw (Desktop), 1.6vw (Tablet), 2.1vw (Phone)
- Text Line Height: 1.7vw (Desktop), 3.3vw (Tablet), 3.8vw (Phone)
H2 Text Settings
Play around with the H2 text settings too.
- Heading 2 Font: Lato
- Heading 2 Font Weight: Heavy
- Heading 2 Text Color: #5802ed
- Heading 2 Text Size: 2vw (Desktop), 2.5vw (Tablet), 2.9vw (Phone)
- Heading 2 Line Height: 2.3vw
Spacing
Continue by going to the spacing settings and adding the following custom margin and padding values:
- Top Margin: 2vw (Desktop), 7vw (Tablet), 10vw (Phone)
- Bottom Margin: 2vw (Desktop), 7vw (Tablet), 10vw (Phone)
- Left Margin: 5vw
- Right Margin: 5vw
- Top Padding: 6vw
- Bottom Padding: 6vw
- Left Padding: 6vw
- Right Padding: 6vw
Box Shadow
Shape the Text Module by adding a subtle box shadow.
- Box Shadow Blur Strength: 50px
- Shadow Color: rgba(0,0,0,0.09)
CSS ID
Continue by adding a CSS IDย to the Text Module. Make sure youโre using the same CSS ID as the one you were linking to in the first column of the row.
- CSS ID: chapter-1
Clone Text Module Twice
Once youโve styled the Text Module, clone it up to as many times as you want.
Change Content
Change the content of each Text Module duplicate.
Change CSS IDs
Along with the CSS IDs.
- CSS ID: chapter-2
- CSS ID: chapter-3
Add Text Module to Column 3
Add Content
On to the next and last column! Add a Text Module with some content of your choice.
Text Settings
Then, go to the design tab and change the text settings.
- Text Font: Lato
- Text Font Weight: Heavy
- Text Color: #ffffff
- Text Size: 2vw (Desktop), 3vw (Tablet), 4vw (Phone)
- Text Line Height: 2vw
- Text Orientation: Center
Spacing
Add some custom left and right padding next.
- Left: 2vw
- Right: 2vw
Add Copy
Continue by adding a Button Module to the third column with some copy of your choice.
Alignment
Change the button alignment next.
- Button Alignment: Center
Button Settings
Modify the button settings as well.
- Use Custom Styles for Button: Yes
- Button Text Size: 1vw (Desktop), 1.5vw (Tablet), 2.4vw (Phone)
- Button Text Color: #5802ed
- Button Background Color: #ffffff
- Button Border Width: 0px
- Button Border Radius: 10vw
- Button Letter Spacing: 0px
- Font Weight: Ultra Bold
- Font Style: Uppercase
Spacing
And add some custom margin and padding values to style and position the module.
- Top Margin: 2vw (Desktop), 4vw (Tablet), 5vw (Phone)
- Top Padding: 1vw (Desktop), 2vw (Tablet), 3vw (Phone)
- Bottom Padding: 1vw (Desktop), 2vw (Tablet), 3vw (Phone)
- Left Padding: 3vw (Desktop), 7vw (Tablet), 9vw (Phone)
- Right Padding: 3vw (Desktop), 7vw (Tablet), 9vw (Phone)
Style Scrollbar
Open Page Settings
The last part of this tutorial is dedicated to styling the scrollbar of the second column. Whether you style the column scrollbar or not is entirely up to you. Not styling it doesnโt change anything about the functionality. If you decide to style the scrollbar, open the page settings.
Add CSS Code
Then, go to the advanced tab and add some custom CSS to the Custom CSS box and youโre done!
#style-scrollbar::-webkit-scrollbar { width: 1.1vw; } #style-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; } #style-scrollbar::-webkit-scrollbar-thumb { background: #333333; }
Preview
Now that weโve gone through all the steps, letโs take a final look at the outcome across different screen sizes.
Desktop
Mobile
Final Thoughts
In this post, weโve shown you how to create a stunning and effective book preview landing page with anchor links to different parts or chapters of your book and a CTA that stands out. Weโve also shared the layout JSON for free so you can start adding it to any website youโre creating right away! If you have any questions or suggestions, make sure you leave a comment in the comment section below.
If youโre eager to learn more about Divi and get more Divi freebies, make sure youย subscribe to our email newsletterย andย YouTube channelย so youโll always be one of the first people to know and get benefits from this free content.
Thanks, looks good on a website.
Great tutorial. I will definately use this for something sometime.
Donjete Vuniqi thank you for writing a information rich post for us.
Thanks Donjete for the tutorial.
Really nice design! We will definitely use it to showcase something in future. ET team’s creativity has been amazing since 2019. Keep up the good work guys!
Thank you, Amrin! Nice to hear ๐
How I did not think of that ?
Excellent !
Thank you! Glad you’ve enjoyed the tutorial ๐
thanks
You’re welcome! ๐
Awesome! Thank you Donjete ๐
You’re welcome, Nicole! Glad you enjoyed it ๐
Very cool indeed. THANK YOU ๐
You’re welcome, Neal! ๐
Hello,
Very good idea !
I decided to use it to present
the GDPR page and privacy policy on one of my sites.
This presentation is really adapted.
Thank you
Ah, that’s a creative way to use it! Happy you’ve enjoyed the tutorial ๐