Target ID link not working on Superfly menu

URL: http://www.kudzuwebdevelop.com/cc

We have a few ID’s being targeted in our nav menu. For example, when clicking on HOUSING in the main nav, you should be scrolled down to the #HOUSING css ID on the homepage. Very basic. This works when ON the homepage.

However, if I click off to an internal page, then try to click on HOUSING again, it’s not taking me to the correct URL.

In my Nav Menu setup, I have HOUSING linked to “#housing

Now for testing purposes, I set the link for COMMUNITY to be "http://kudzuwebdevelop.com/cc#community"and as you can see it doesn’t work right either.

WHAT I NEED: The nav menu to click off to the appropriate anchor ID on the homepage, regardless of what page I’m on throughout the website. This is basic stuff and I’m not sure why the theme/plugin combo isn’t working.

Hi @glissonryan,

In this case, you should set up the URL of menu items like this:

http://www.kudzuwebdevelop.com/cc/#community

http://www.kudzuwebdevelop.com/cc/#housing

Hope it helps :slight_smile:

I changed all the links as you suggested and it’s still not working.

Hi Ryan,

It works but sometimes not. But it’s not gonna scroll if you click coming from different page and there is no need to scroll since it’s page load event, and browser will automatically set it. And that’s the basic setup.

Though, it’s a bit glitchy since SuperFly is not initially meant for one page navigation. For example, in one page navigation, you have to create separate menu with different URL format. Example, home-menu, it’s where links assigned as #housing, then standard-menu where links assigned as http://kudzuwebdevelop.com/cc/#housing. Then home-menu will be assigned as one page navigation of your target page like home page. That’s only possible with X standard header and menu and not for SuperFly. I’m afraid there is no workaround for this SuperFly one page navigation as of yet.

Thanks!

I’m not worried about it scrolling to the target ID if coming from another, just need the page to load to the specified target ID. I tried the whole 2 menu thing before posting here and it wasn’t working either.

Hi Ryan,

Yes, it’s a bit abnormal and random, it should automatic without javascript and yet it always scroll back up. I can’t find any script that do the scrollTop animation to zero. Would you mind backing up your site and allow me to disable all plugins and features? I like to test it with just the theme.

Thanks!

Hey I’ve been out of town all week and am just getting back. I’ll back everything up and get to this first thing Monday morning and update the thread here when you can further test.

Thank you so much and talk soon!

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.