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
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
@Richard update: site title as 'scroll to top' button works like a dream on desktop but not on mobile Do you have some advice here? Thank you š„
-
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
-
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
@Richard fab, thanks Richard!
-
No worries @sallyobrien Have a wonderful day! š
Best wishes
Richard
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
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