I am having trouble linking back to sections on the home page from other pages via the nav bar. I have tried putting /Home#about in the url section of the About link. However, when the About link is clicked I get a 404 saying Home does not exist.
When your site is published your home page is your root URL. So “exampleurl.com/#about” will link back to the about section on your home page from any other page.
I had actually tried this previously but found it didn’t work when in preview mode. The page just goes white which made me assume it wasn’t working. However, testing it again it does work when I try through the live site (although still not in preview). This seems a bit odd and a little confusing.
Oddly, I can’t seem to get it to work for the Testimonial link. This is the link:-
It functions as it should when on the home page (which contains the testimonials section) but when on another page it links to:-
ID’s are always case sensitive for anchor linking, at least in my experience, have you seen it where it isn’t case sensitive @PixelGeek? I had to find out the hard way once when an important link didn’t go to the anchor.
BTW @sparky your site is beautiful really like the interactions/hover effects used. Nice work!
The links are now working correctly when tested on the live site. However, the same links to a section on a different page don’t work when viewed through preview mode. Presumably they should? It’s not the end of the world as I can test through live site but would be more convenient if didn’t have to publish each time I make a change to test it. Can anyone see what I’m missing here?
p.s Thanks @Waldo_Broodryk! Glad you like how it’s coming along. Love using Webflow and as a designer, it’s already making my life easier.
The preview mode only allows you to do so much and often has issues with linking to other pages/some links or interactions in the preview mode simply don’t work (will pop open another tab on your browser sometimes and do the action in the tab you had open initially haha).
I recommend that you ALWAYS publish changes to the staging link and test there until you’re happy, and then publish to your main site once you’re happy the staging feature from webflow is a phenomenal feature to have with unlimited publishing use it!!! Haha