Page Jumps from Page Menu at top?
Yes it’s possible, but we always need a link to the blog in question when you post here.
Oh, I’m so sorry — I thought my avatar would link to it. The blog in question is http://spacecadetcreations.com/
Thanks very much.
You need to combine this feature:
with this technique:
(If you can’t figure it out, let me know.)
And see sticky “8 Things To Know”, point 2: how to make your username link to your blog.
panaghiotisadam, thank you so much for those two links! They’ve got me *most* of the way there, which is great. I’ve now got my sub-menu items in place and the menus all laid out correctly and looking right.
The only problem is getting those sub-menus to link to a specific point on the About page. What I did was “Destination” coding (as per your second link) into the About page HTML, and I’m confident I did that part right, but then I put the “Source” coding into the URL window for that menu item. But when I save that, WP.com automatically sticks http:// in front of it (which makes sense, because it’s expecting a web address, not HTML coding) and then, of course, the code doesn’t work.
So… I’m going to keep playing about with it, but do you know how or where I’m supposed to put the Source coding in so the sub-menu links to the Destination within the About page?
Thanks a lot for your help. Really appreciate it.
In your custom menu add an external link with the URL set to: http://spacecadetcreations.com/about/#Natalie or whatever you have named your other links. Then drag it under your About page and indent it so it becomes a child link as per the instructions on how to use custom menus linked above. Et Voila!
THANK YOU! That worked beautifully! I now have my blog menus *exactly* how I’d wanted them. Really appreciate the guidence from both of you, hallluke and panaghiotisadam.
Oh, no, wait… Just one problem. I have four sub-menus that should jump to points on the About page (SpaceCadet, Contributors, Natalie, LeftofCentre), and even though I have correct Destination coding at the beginning of each respective paragraph, they all jump to the *exact same place* on the page. Any thoughts on what might be causing that?
That’s because your three destination points are close to each other and near the bottom of the page: how could the browser window move lower than the lowermost part of the page? If there were more paragraphs after the last destination point, you would see your links working as expected. (You can test them by making the browser window very short in height.)
Thanks for your reply, panaghiotisadam. :) But I don’t think that’s it. I’ve added a whole bunch of text (just some random stuff) to spread the destination points out a bit, and I’m still having the same problem. I’ll leave it up for a while and if you get a chance to look, you’ll see what I mean.
When you click on the links in the sub-menu, it jumps you down to *near* the destination point, but not right on it. In my tests a few minutes ago, it kept jumping to a couple of lines below the destination point, so that the beginning of the paragraph was just *above* the top of the screen and I had to scroll up to it. I checked the destination point coding, and it’s in the right place… It’s very odd.
I think I could work around it by placing the destination points a couple of lines above where I want the jump to land, but that just doesn’t seem like a very tidy (or correct) fix. And the nerd in me would like to understand what I’m doing wrong! :D
Thank you very much all the previous help and, if you have any insights into what might be causing this problem, I’d be really grateful.
Ok, I’ve been experimenting and I think I’ve realised what the problem was. I was logged into WordPress (obviously) while I was doing all my editing, and WordPress has that grey menu bar superimposed over the top of the window. So when I’d click on the sub-menu items and they’d jump down, the first line was getting hidden behind the grey WordPress menu bar. But to me, it just kept looking like the jump was going to the wrong place.
So, I opened up the website in another browser (where I wasn’t logged in) and played with it in there and it appears to work perfectly. It was that grey menu bar that was messing up my view of the page (but obviously no-one else’s).
I’ve taken the extra text out of the About page now too. But that did help a lot in seeing where the links were jumping to. Thanks for that heads up, panaghiotisadam. :)
The topic ‘Page Jumps from Page Menu at top?’ is closed to new replies.