Site title link not working
-
This post is deleted!
-
Dear Sally
@sallyobrien
The Link provided does not lead me to your Lay Theme website sorry Sally 🌝
Talk soon & best wishes ✨
Richard
-
This post is deleted!
-
Dear Sally
@sallyobrien
Your site title is working properly but because it's already on the correct page, there is need to reload. Did you want a hard reload?
If you would like the site title to act as a "Scroll to top" button then please add the following code into "Custom <head> Content" within Lay Options > Custom CSS & HTML :
<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery(".sitetitle").addClass("scrolltotop"); }); </script>
Let me know how you go Sally & have a wonderful day 🌝
Richard
-
Thanks Richard, you're a lifesaver. Works like a dream. 🤠
-
Hey again, this is a separate issue but related..
Actually I would like the menu items to smooth scroll to the anchor points on the page. Could you help me here? Thank you so much 😊
-
Dear Sally
@sallyobrien
Sorry about overlooking Mobile, its defined as
mobile-title
.
So if you could update the code i gave you, it would now look like:<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery(".sitetitle, .mobile-title").addClass("scrolltotop"); }); </script>
For the smooth Anchor Scrolling, here is thread discussing how to apply it but also some issues with Desktop & mobile:
http://laythemeforum.com:4567/topic/5975/anchor-scroll-dekstop-mobile/2
Talk soon Sally & best wishes ✨
Richard
-
No worries @sallyobrien Have a wonderful day! 🌞
Best wishes
Richard
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