Site title as scroll to top
General Discussion
5
Posts
2
Posters
568
Views
1
Watching
-
no theres no way to do that i think :)
maybe if you write your own custom javascript for it!
i dont have time to do this :/ -
ah nevermind, i got some time, i think this should work!
put it in "custom html at bottom" in lay options → custom css & html!<script> jQuery(".sitetitle, .mobile-title").click(function(e){ e.preventDefault(); window.scrollTo({ top: 0, behavior: 'smooth' }); }) </script> -
ah nevermind, i got some time, i think this should work!
put it in "custom html at bottom" in lay options → custom css & html!<script> jQuery(".sitetitle, .mobile-title").click(function(e){ e.preventDefault(); window.scrollTo({ top: 0, behavior: 'smooth' }); }) </script>@arminunruh THANK YOU SO MUCH!!! It works perfectly!
Thank you for your time and help, it's really appreciated :) -
aha im glad it works for you! actually this is a pretty cool feature!
-
A arminunruh referenced this topic on
-
A arminunruh referenced this topic on
-
A arminunruh referenced this topic on
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com