Site title as scroll to top
-
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>
-
@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!
-
-
-
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com