admin管理员组文章数量:1130349
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 |
1 Answer
Reset to default 0You 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.
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
1 Answer
Reset to default 0You 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.
本文标签: My custom link works only on home page
版权声明:本文标题:My custom link works only on home page 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749036407a2306458.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


//in front of the URL. Those shouldn't be there. – Jacob Peattie Commented Jan 7, 2019 at 4:40