-
AuthorPosts
-
May 18, 2015 at 9:57 pm #446054
hi there,
I have been trying for some time now on creating a one page site, that allows users to click on the menu headers. which will direct them to the section on that one page, however this is proving difficult.
I have read through all the forum topics relating to this and have tried the hash tag solution in the color section and a number of different ways, but it does not seem to work as when doing live preview and clicking on the menu headers nothing seems to happen so i do not know what else to do
Here’s hoping you can help me out
Thanks in advance
Jai
May 18, 2015 at 10:18 pm #446063Hi jaery11!
Have you checked out this post – http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/?
If that did not help, do you mind creating a temporary admin login and posting it here privately so we can set it for you?Best regards,
YigitMay 18, 2015 at 10:32 pm #446076This reply has been marked as private.May 18, 2015 at 11:16 pm #446109Hey!
Please review your website now. Here is how i did it – http://imgur.com/a/Fp5Ke
First screenshot is from Color section element and second is from Appearance > Menus > Custom LinkRegards,
YigitMay 19, 2015 at 2:51 pm #446436This reply has been marked as private.May 21, 2015 at 4:53 pm #447831Hey!
please upgrade to Enfold v3.1.5.
I tried to login, but could not. Please check login details again. Try to deactivate all plugins, to see if one is causing this issue. Afterwards you can activate them again one by one to see which one is causing this problem.Regards,
AndyMay 25, 2015 at 4:39 pm #449591This reply has been marked as private.May 26, 2015 at 6:26 am #449820Hi!
You have this code which triggers the jump:
<script type="text/javascript"> jQuery.noConflict(); (function( $ ) { $(function() { // More code using $ as alias to jQuery $("area[href*=#],a[href*=#]:not([href=#]):not([href^='#tab']):not([href^='#quicktab']):not([href^='#pane'])").click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top - 200 },900 ,'easeInSine'); return false; } } }); }); })(jQuery); </script>
Not sure how you added that but you need to remove it.
Best regards,
IsmaelMay 26, 2015 at 9:15 pm #450321Hi,
Could you tell me which template you found that code in, I cant seem to find it anywhere
Thanks
Jai
May 27, 2015 at 5:46 am #450418Hi!
It’s either hook in a wp_footer function inside the functions.php file or it was added directly in the footer.php file. Or it’s from a third party plugin.
Regards,
IsmaelMay 27, 2015 at 8:34 pm #450792Hi
Thank you for your help
It was a plugin that was causing the problem
Many Thanks
JAi
-
AuthorPosts
- The topic ‘Enfold one page navigation solution ? please help?’ is closed to new replies.