TomPiggott
(Tom Piggott)
1
Hi Guys,
Since setting up my custom page animations, my nav links in my nav bar (which is a symbol) are not working when clicked from the CMS Collection Pages.
The nav bar works as intended on every other page, but I get a 404 when using the nav bar from the CMS page now.
For example, when I click to go through to “Our playlist” from a CMS collection page, rather than getting the URL https://thenewnormal.webflow.io/our-playlist, I am getting https://thenewnormal.webflow.io/our-stories/our-playlist - so it is adding in “our-stories” which is the slug from the collection page.
Does anyone know why this is happening or how I can fix it? Link to project below…
Thanks so much,
Tom
https://preview.webflow.com/preview/thenewnormal?utm_medium=preview_link&utm_source=dashboard&utm_content=thenewnormal&preview=8cb87c8cee3f05183faf2eac73fa559e&mode=preview
JSW
(James)
2
This is because you’ve used a JS link. Is there any particular reason you haven’t used a ‘page’ link?
TomPiggott
(Tom Piggott)
3
Yeah it’s because I needed that JS link to create the delay for the page load animation
JSW
(James)
4
Ohh, I see! It’s a difficult one. I could suggest putting the whole URL in the JS? I’m not sure if that work work though.
'javascript:delay('https://thenewnormal.webflow.io/our-playlist')