Anchor Links on the same page from a content drop down not working

Hello

la-gioia.eu/2020/datenschutz

I packed the content information (ul list with anchor links) on mobile devices into a content dropdown. The anchor links do not work.

In the large screen layout where the link list is just in a separate column all works fine.

I’d appreciate an info about the possible issue very much.
Thx a lot!

Hey Ondrej,

The Content Area Dropdown is good for short content only as the modal sticks to the toggle. Please use the Content Area Off-Canvas instead as the canvas pops up separately from the toggle and you can scroll the canvas content goes out of the screen height.

Hope that helps.

Thx a heap I’ll check it. WIll report.

Thanks for testing, Ondrej.

Well, duh… nope. that did not work.

Hello Ondrej,

I have inspected your page and I found out that you have created two sections and inserted the IDs twice which is not correct. For example this one datenschutz, you use this as an element ID twice. Be advised that the element must be unique and there will be no duplicate.

I would recommend that you use different anchor links for smaller screens to get your issue resolved.

If so, shouldn’t the anchors for the larger screens be broken as well? I’ll rename the anchors and links for the small screens and will report.

EDIT: yep, that did it.

Thank you very much! Case closed.

Hi Ondrej,

You’re welcome and we’re glad that we’re able to help you. If you have any other concerns, feel free to reach us.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.