How to Build a Reading Progress Bar for your Divi Blog Posts without a plugin

preview_player
Показать описание
Adding a Reading Progress Bar (or scroll indicator) to your blog post template is a smart way to showcase a user’s reading progress for a given article. The idea is to display a fixed progress bar at the top of the post that directly correlates with the user’s scroll position on the post content. When the user reaches the article, the progress bar begins to fill up. When the user reaches the end of the article, the progress bar is 100% full.

In this tutorial, we are going to show you how to create a reading progress bar for Divi blog posts that is smart enough to know when the user starts and finishes (by scrolling) the actual post content, not the entire page. This will give a more accurate indication the reading progress.

We’ll show you how to add this reading progress bar to Divi’s default blog post template or a custom post template using the Divi Theme Builder.

Рекомендации по теме
Комментарии
Автор

Thanks a lot ! Is it possible to add like a success message with a link to the next post when the user has read a whole blog post ? Thanks a lot

lesaviez-vous
Автор

this is good! thank you! I've set it up just right!

JuanPabloVasquez
Автор

Your mic was a little too compressed so was a little pumpy but great content.

MattWadeonline