Force secondary nav bar to appear when page loaded in the middle of content

Hi hi! So, I’ve got a secondary navbar that I animate into view using a “scroll into view” interaction, which is triggered by another element scrolling OUT of view, and this all takes place pretty close to the top of the page. That interaction works great.

However, the issue I’m running into is when someone loads up the page in the middle of the content (e.g., via a search query’s dedicated URL). The “scroll into view” interaction isn’t triggered, so the navbar doesn’t appear, unless you scroll back to the top of the page and then scroll back down again, which is obviously not ideal.

Any ideas on how to fix this? Would custom code be needed to manually pull in that secondary nav? I’ve been attempting to mess around with that a bit, but 1) I’m not at all adept with custom code, and 2) I feel like the interaction throws a kink into making that idea work. BUT, I feel like I might be overthinking this, too. :sweat_smile:

Also, apologies, but I cannot share a preview link due to the need to maintain privacy with some of the content on the site.

Thanks in advance for any insights you’ve got!

Anyone anyone? Would still love some help on this, pretty please. :pray: