Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Progress bar and reading time in Posts

  • #10715
    Avatar photo[anonymous]

    Hello,

    I was wondering if anyone here has added a reading time to their posts and/or a progress bar?

    #10735
    Avatar photo[anonymous]
    #10799
    Avatar photo[anonymous]

    Hello,
    thank you for your reply and apologies for answering late, the notification was lost in my inbox.

    One more question as I am really new to Publii, where exactly should I add the javascript. I look at the documentation but found it a bit confusing as I am just starting.

    Thank you!

    #10802
    Avatar photo[anonymous]

    Add the actual code to “Tools & Plugins” > “Custom HTML” > “Body”

    js-scrollbar-folders

    Add the CSS to “Tools & Plugins” > “Custom CSS”

    #10812
    Avatar photo[anonymous]

    Thank you, I wasn’t sure it was the best way to it!

    #10818
    Avatar photo[anonymous]
    [anonymous] wrote:

    Thank you, I wasn’t sure it was the best way to it!

    You could also add it to your site files (by editing them with a code editor). In my case, I didn’t want the scrollbar to appear in the home page, so I set it up so that it only appeared in certain post templates. That’s a little more advanced, but the method I mentioned above is the simplest way.