scrolling not working on menu items with absolute URLS
-
Hi there,
I had the scrolling working beautifully on this site, until I was asked to change the anchor names to be descriptive (I use Headway, so each block has an ID number which I had used for the #).
This worked perfectly on the Contact menu item, as I just added an anchor to the page title, added the selector in the plugin settings and changed the ID # in the menu.
But, putting an anchor into the title of the links under Specialist Services didn’t work at all, so I put in some custom code to create an anchor point above where the content appears and put the ID in there. That successfully got it to jump to the right spot, but without the lovely scrolling.
The only difference between the Contact menu item and page and the ones under Specialist Services is the latter has absolute URLs as the link in the menu (as they are accessed from other pages).
I’m not getting any errors in my console for the site and I’ve triple checked the selectors to make sure there are no wayward commas or speech marks.
Hope you can help – I’ve spent several hours trying to troubleshoot this, and no doubt the answer is staring me in the face! ??
Cheers,
Sandra
- The topic ‘scrolling not working on menu items with absolute URLS’ is closed to new replies.