In my navigation bar there is a link which takes you to the page. And I added two sub items which are custom links. In custom link URL box i put http://localhost/wp/wordpress/test/#1
and in page it's self i put
<a name="1"><h2>Lorem Ipsum</h2></a>
And anchor works perfectly but when im in the page it's self and press on menu to get drop-down list with anchors. It has changed the color to the orange because its in a current page. It can be fixed if you in custom link URL box put just #1
(as you can see in image below anchor 2 has only #2
. But then ofcourse you cant get to anchored page from different page.
What i want is to have functionality of anchor 1 and style of anchor 2. As far as i know its a CSS problem. But i dont know how to solve it.
I am using Education Hub By WEN Themes
All help is appreciated!