My custom link works only on home page

admin2025-06-04  2

I created a custom ID for the Portfolio section on my home page. Then I linked it to the "Portfolio" menu, but for some reason it only works from Home page and not from other pages. I tried to add /home as a part of the link (as were recommended previously for other people having similar issue but) it didn't work.

I would appreciate any help :) Cheers!

I created a custom ID for the Portfolio section on my home page. Then I linked it to the "Portfolio" menu, but for some reason it only works from Home page and not from other pages. I tried to add /home as a part of the link (as were recommended previously for other people having similar issue but) it didn't work.

I would appreciate any help :) Cheers!

Share Improve this question asked Jan 7, 2019 at 4:32 LilyLily 111 bronze badge 3
  • 3 You've got // in front of the URL. Those shouldn't be there. – Jacob Peattie Commented Jan 7, 2019 at 4:40
  • Can you please share the url ? – Tejas Gajjar Commented Jan 7, 2019 at 7:53
  • @TejasGajjar ... It's in the screenshot. – Jacob Peattie Commented Jan 7, 2019 at 10:48
Add a comment  | 

1 Answer 1

Reset to default 0

You link to the anchor, so you have to put all link in there. And you've done it.

But there are some additional "//" in your URL, so it's not valid URL, so browsers may ignore some part of it.

Just remove those "//" and it should work just fine.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749036433a315817.html

最新回复(0)