question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Forum] Links to headings a hidden behind nav

See original GitHub issue

Describe the Issue

When sharing a link to a heading within a forum post, it takes you to that heading but scrolls up too far. The heading and some text is hidden behind the nav.

Steps to Reproduce

Open this link: https://forum.freecodecamp.org/t/running-the-relational-database-curriculum-in-your-browser/500231#your-container-loaded-but-the-terminal-is-not-visible-8

The Your container loaded, but the terminal is not visible heading is hidden behind the nav

Expected behavior

It not to be hidden.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
moT01commented, Aug 30, 2022

I don’t think we’re talking about quite the same issue @ahmadabdolsaheb.

I cannot (or do not know how to) reproduce the issue in @DylanDevelops’s screen shot. The navbar is always at the top for me with the fCC logo and the rest of the universal nav. I never see a post title or anything like that in the navbar.

The issue I was referring to can be seen in @naomi-lgbt’s screen shot. When you open the link I shared, the heading for it is hidden. It’s supposed to take you to the #your-container-loaded-but-the-terminal-is-not-visible-8 heading, and it does - but it’s hidden behind the nav, as if it’s just scrolled up a little too much. Now that I double check, there is the second issue that you mentioned - the profile icon is hidden as well.

1reaction
ahmadabdolsahebcommented, Aug 30, 2022

Thanks for the explanation. I see it now, this should do the trick. https://css-tricks.com/hash-tag-links-padding/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Anchor link hidden behind sticky menu - GeneratePress
The anchored title that you are being redirected after you click on the link gets hidden behind the sticky menu. Any idea how...
Read more >
Content being hidden behind header - Support - Themeco
Hi, I've got another request from my coder and it concerns the header and the content being hidden behind it.
Read more >
hiding certain links in navigation bar on some pages
Therefore, I want to hide different navigation links on different pages. I am using 7.1 Commerce plan and tried injecting the following code ......
Read more >
Section title is hidden behind fixed navbar
Hi there, I noticed something I don't like when I create a single page website using sections in my fixed navbar. When I...
Read more >
Issues with cross-page section links and fixed nav bar - General
I have a home page with sections, and three CMS pages. The nav bar is fixed (top), with links that point to sections...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found