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 ! :)