Site title as reload button for one page website
-
Hello,
im currently building a very simple one pager with three anchors to jump to in the menu.
As an alternative to the "back to top"-button at the end of the page i'd like to use the site title as a reload/refresh button. From what I understand the refresh function on the homepage is disabled. I'd be happy if you could point me to some work around on that problem.I found a post with quite the similar problem I think, but sadly no suggested solution there (http://laythemeforum.com/topic/656/site-title-link-only-works-once-on-homepage/6).
This is the link to the site im talking about: http://wendelstein-steuerberatung.de
Im really looking forward to your answer.
Best, Miriam -
hi @miriamb, you can customize the code from your suggested link to this:
<script> jQuery(document).on("click", ".sitetitle", function(event) { window.scrollTo(0, 0); }); </script> -
-
Thanks @fr ! :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login