Ankor Link Wrong Position - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Ankor Link Wrong Position

MS

Martin Seidl

SP Page Builder 3 years ago

Hi Team, I created ankor link https://t01.kymati.com/de/produkte/produkte-uebersicht.html#KY-RAY1D

but it does not jump to the correct position. It goes about 40px lower to on addon within the section instead of displaying the whole row/section...

see https://snipboard.io/unAwrV.jpg and https://t01.kymati.com/de/produkte/produkte-uebersicht.html#KY-RAY1D

regards, martin

0
10 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #65081

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.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #61426

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.

0
MS
Martin Seidl
Accepted Answer
3 years ago #64007

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.

0
MS
Martin Seidl
Accepted Answer
3 years ago #64011

..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.

0
MS
Martin Seidl
Accepted Answer
3 years ago #64723

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #64767

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.

0
MS
Martin Seidl
Accepted Answer
3 years ago #64777

ok thnx Paul, but why does it not naturally jump to the correct top border of the row but it jumps to the middle of the row (addon title)? this seems to be a bug!

see https://t01.kymati.com/de/produkte/produkte-uebersicht.html#KY-RAY1D and https://snipboard.io/GWzkQ4.jpg

backend: https://snipboard.io/p2jDA4.jpg (it jumps to the yellow marked and not to the top addon)

0
MS
Martin Seidl
Accepted Answer
3 years ago #65076

?

0
MS
Martin Seidl
Accepted Answer
3 years ago #65247

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.

0
MS
Martin Seidl
Accepted Answer
3 years ago #65249

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

0