Site logo

Archived topic

Anchor-Link does not work

3 replies · Started by Sascha on January 28, 2023

Viewing posts 1–4 of 4

Hi

on this page, I have applied a few anchor-links to headlines, and added them as #links to the containers on the top of the page.

The first two containers work well, but when clicking on the 3rd & 4th container, the scroll stopps at the first item, insgtead of scrolling down.

Screencast here

Can you please help with this? Auto-Admin-Login in Private Info field.

Thank you in advance and kind regards,
Sascha

Hi there,

edit the Container Block that you have for fortbildung inside that block is a Headline Block, add it has an ID ( HTML Anchor ) that is also: fortbildung - so the container is linking to the headline inside it... remove that ID.

That's strange, because the Headline Block inside the Container (Container is linked to #fortbildung) does not have the ID applied, as you can see on this screenshot.

However, I do see, that the Headline Block inside the Container still has the ID fortbildung applied to.

I have already recreated the Headline Block, but the effect is the same. It seems as if the Headline Block automatically inherits the target-ID from the Container wrapped around.

Then I have recreated the Container, which embeds the Headline Block, same result.

Then I have changed the anchor of the target block from fortbildung to fortbildung02, and also changed the link of the container, and now it's working. However, when changing back, the same situation as before.

To me, it seems like a bug tbh.

In case you would like to check on your end, feel free to use the auto-login-link as provided in private note of my initial message.

Thank you in advance and kind regards,
Sascha

I see. That's odd. It could be because of caching or something else. Can you try adding an ID, for instance, test-id to the H3 block? Let's see if it appears.
'

This archived topic is closed to new replies.