How to fix cookie bar behaviour?

Hey there. Maybe someone has an idea how, when closing the cookie consent popup, make a behaviour that a user stays in the current viewport? Now it behaves that closing the popup, the window scrolls to section under the hero video. Glad for any help!

Here is my site Read-Only: Webflow - Nowadays People
(how to share your site Read-Only link)

Hello @ilonadzen, yes so your cookie consent has a link block button right? it is set to take you to a page section. If you don’t want that behavior, simply remove the settings of the anchor link from section to url
Screen Shot 2024-05-14 at 7.20.40 PM
Ideally you should actually change this anchor link to a button via the custom element, that way you wouldn’t have an empty link, but it is not a big deal. I hope this helps!

1 Like

Lol, silly me :smile: Thank you, it worked!

1 Like