ankor link wrong position - Forum | JoomShaper
Solved SP Page Builder

ankor link wrong position

Asked by Martin Seidl 4 years ago Last activity 4 years ago

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
4 years ago · edited

If you want to make a jump to header "Primar Radar" add link to #prim.

About is it a "bug" or not -- it's how the browser works, not SPPB itelself. You can play on simple HTML page.

That's why modern Smooth Scrolling plugin(s) have option "Scroll Offset" to correct jump location exactly where webmaster wants.

That's why I suggested you before to add bigger top padding value inside rows to reduce that problem. Now you have 15px - use 55px instead.

9 more replies

Paul Frankowski Senior Staff

Hi Martin,

to be honest it's your mistake.
You should link to the Row with "Primär-Radar" not 2nd row below as you did.

Martin Seidl Asked this

Hi Paul, thnx.

I try to explain again: I want the ankor link to jump to this position: https://snipboard.io/wv8XyN.jpg which means the complete content of this row should be displayed, thus also the title "Produkte und Anwendungen" should be displayed.

Right now the ankor link jumps to https://snipboard.io/unAwrV.jpg which means the title is missing.

Martin Seidl Asked this

..if I play with the padding-top of the row I could have the jump towards the top of the row but thus I change the layout which i do not want, for the padding top change is of course visible and not good looking.

Martin Seidl Asked this

Hi Paul,
would appreciate your answer, thnx.
regards, martin

Paul Frankowski Senior Staff
4 years ago · edited

Sorry for delay. The main problem is that default anchor link doesn't have option to add EXTRA jump padding, called "Scroll Offset". This feature has only extra Smooth Scrolling plugins or our navigation addon (SPPB).

So technically and personally I cannot help you more that I already did, even I would like to.

Martin Seidl Asked this

?

Martin Seidl Asked this

thnx Paul, still dont understand why it - by default - links to the middle of the row instead to the top. content is thus cut off. but anyway I use padding-top now which changes the design, but it a copeabel compromise.

In my case all the browser link to the middle position and not top.

Martin Seidl Asked this

begore I received all new forum post via email TWICE and now i dont receive them at all anymore!

Log in to reply.