jQuery-One-Page-Nav
jQuery-One-Page-Nav copied to clipboard
Does it work on wordpress?
I'm using your tool, which is fantastic, in a few of my websites. So far so good, but now I'm building a website on wordpress and I ran into some issues: Here's my code so far:
header.php
footer.php
main.php
Think it. Build it. Market.
</div>
<div class="container video" id="video">
<p>We are a full service agency located in Barrie, ON...</p>
</div> ... ...
main.js
$( document ).ready(function() { $('#nav').onePageNav(); }
style.css
nav .current a {
color: #D54D38; }
My problem is that the first link is skipped. The smooth navigation works, but only if I won't scroll the down the page. I'm using my own bar, in order to use the plugin I didn't use php to build my navigation bar.
Thank you in advance for your help