Site logo

Archived topic

Smooth Scroll In Flexbox + External CSS File

17 replies · Started by Ian on September 26, 2020

Viewing posts 16–18 of 18

I just tested it with a GB button and it works as expected.

Instead of using <a name="anchor-name"></a> elements, can you try adding the anchor-name as the ID for the destination container?

Hey Tom, your instructions worked. Just to make sure I am doing this correctly in the future.

I want to make sure my HTML block is wrapped in a GB container with an Element ID that equals the anchor link name. As these are placed inside the default Wordpress HTML block that have no advance controls, I just wrapped them in a GB Continaer and added the unique anchor link name as the Container's Element ID. Did this for all anchor links on the page and it worked. Never know I had to include an Element ID so wanted to make sure this the proper way to do things as I move forward. Thanks!

No problem! Glad it worked :)

This archived topic is closed to new replies.