Himanshu Pandya
Himanshu Pandya

Reputation: 1

WordPress Menu Link Issue

I am currently developing a WordPress website.

I have home page as parallax page. you can visit here. and parallax working fine on this page,

I have another page on same site which you can see here, you can also navigate to that page by clicking news menu link on home page.

My issue is, after navigating to news page, other links ( Home, Services ) not working.

When I right click and choose open link with new Tab its working, but when i direct click that menu link (Home, Services ), Its not working, Why? What is missing there?

I have tried to bind jQuery click event with it, and click event in jQuery working fine.

Upvotes: 0

Views: 278

Answers (2)

Garry Cooper
Garry Cooper

Reputation: 206

your theme has an event on links with w-nav-anchor class in your js/plugins.js

Add more specific selector like '.home .w-nav-anchor' to run properly.

Upvotes: 0

AgeDeO
AgeDeO

Reputation: 3157

The browser is confused because you are using hashtags # in your url. Hashtags are normally used for links on the same page (anchors). The link is however not on the same page.

When you right-click and select open in new tab you are forcing the browser to go to a new page.

I do not know why the hastag is there in the first place. I suggest you remove it in the url. Do not forget the remove the hashtag in the slug of the page too.

Upvotes: 3

Related Questions