Active
Project:
One Page CV
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2013 at 03:44 UTC
Updated:
25 Jan 2013 at 03:45 UTC
The bug is in themes/opcv/js/opcv.js.
Around line 273 and 274 it looks like this:
jQuery('.menu-343 a').attr('href', '#work');
jQuery('.menu-342 a').attr('href', '#about');Now just go back to the front page and view the source code, you should find something like:
<div id="navigation">
<div class="section">
<ul id="main-menu" class=""><li class="menu-239 first active"><a href="/" class="active">Home</a></li>
<li class="menu-357"><a href="/work">Work</a></li>
<li class="menu-356"><a href="/about">About</a></li>
<li class="menu-240 last"><a href="/contact">Contact</a></li>
</ul>
</div>
</div>You should modify opcv.js and change it to:
jQuery('.menu-357 a').attr('href', '#work');
jQuery('.menu-356 a').attr('href', '#about');
Comments
Comment #1
Jeffrey C. commentedComment #1.0
Jeffrey C. commentedFixed tags.