Hi @uacl312, thank you for using my plugin and contacting me about your issue!
I see what you mean, this is not how I would like the bar to behave, so this will probably be a bugfix on my end. Working on it now. Will keep you posted here.
Kind regards,
Joeri
Hello again, turns out I made a little mistake while debugging the bar on your site. It works when you attach it to #main-nav, because that element actually sticks. The element you are using now, keeps scrolling (even though I understand you would use it because of the suggestive class names) hence the bar also keeps scrolling (until it reaches the top).
You can also switch off stick_relative in the reading bar settings as it has no effect I believe.
However there remains a small css ‘problem’: the direct div descendants of your #main-nav get a large padding left and right, this makes the reading bar (that is targeted by that rule) not start at the left. You can fix this simply by adding the following css (untested, let me know if it does not work):#ruigehond006_wrap { padding-left:0; padding-right:0; }
Hope this restores a happy experience with my little plugin.
Love the site design btw, nice work!
Kind regards,
Joeri
Hey Joeri,
Thanks for the help, that has worked like a charm. For some reason my theme was creating extra padding generally, so I’ve removed it and it works perfectly.
I do notice the reading progress bar move to the centre of the nav bar for a split millisecond when the nav bar becomes sticky but that’s no big deal and it’s hardly noticeable.
Many thanks for your help, and thanks for the feedback as well! 🙂
Actually ignore me, selecting the relevant positioning option has fixed that.
Many thanks again!
Hi @uacl312 , great that it worked out! Many thanx for your kind review!
