Hyperlink to return to top of main page on website using IDs in the customize section

I’m not quite sure what I need to do here, any help appreciated :slight_smile:

I’ve setup an ID on the top nav bar ‘gab-top-nav’ and on a link top of the footer I link to #gab-top-nav

The challenge I have is the menu bar is a sticky bar and when you click on the hyperlink #gab-top-nav it nudges up a little bit but not to the start of the main page.

Is there any solution for this?

My clients site is on https://speytech.com at the moment.

Hey @william1872,

Add the ID to the 2nd bar of the header. I tested it and it works.

If the 2nd bar is only for a specific page, what you can do is create an empty bar below your sticky bar and add the ID to it. This will act as an invisible anchor.

Hope that helps.

1 Like

Oh ! @christian I didn’t think to use an empty bar, that works perfectly thank you :slight_smile:

You’re most welcome,

Cheers!

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