Site title link only works once on homepage
-
Well if you are on the homepage already why should the site title link just refresh the homepage?
I think the bug/problem here is rather, that you can click on the site title and it refreshes. I think when you are on the frontpage and you click the site title, then nothing should happen. Going to write that down and fix it. -
Ok.
Hmm maybe this helps?
http://laythemeforum.com:4567/topic/654/fullscreen-slider-scroll-to-bottom-button/6There im giving an example of how to go to the third slide when you click a button. You could use that example to make a button go to the first slide I think.
-
I'm not sure if I understand your question right :O
ok so the menu-item of the page you're on always has the class ".current-menu-item". This means you can do:
<script> jQuery(document).on("click", ".current-menu-item a", function(event) { event.preventDefault(); jQuery.fn.fullpage.moveTo(1); }); </script>
-
Thanks for the answer, sorry if I didn't explain myself well.
What I mean is: If I have two pages, one for the index where the fullscreen slider is, and another one for the about, if I'm in the about page, the link that I've created with the code you provided me will not link me to the first slide on the index, I would need to have two links: one linked to the index to use from the about, and another one used on the index linked to the first slide.
-
hmm maybe I understand it better if you can give me a link to the website where you want to do this. I'm a bit confused about what you want to do.
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