I’m running into some issues with my tech doc page, so wanted to both ask for advice on how to fix, and start a topic for people to post their sites if they want to ask q’s or ask for feedback.
I strayed a little from the tech doc goal of the page, and have taken on a selected lyrics page from a favorite artist. I recognized I’ve taken some shortcuts here (code {display: none;}), haven’t yet added responsiveness, and it’s a bit of a weird format.
If anyone wants to help, I’m struggling to get scrolling to behave just right with pure CSS, and 2 fixed headers. So far, I’ve gotten things to scroll by repeating the image background in each header so they’re not see-through. I’ve found 2 issues that I can’t seem to resolve:
-
The height needs to be fixed in px to get scrolling to work, but cuts off the content. It doesn’t matter if the height is 800 or 2000px; 95% of the content is showing. I thought it could be something to do with padding or margins accumulating, but haven’t had any luck with that yet.
-
Linking goes to the top of the page. Want the nav-link to navigate to the text 380 or 410px down from the top of the page.
-
Bonus: Hide the main content by default. Only show lyrics once the nav-link is clicked. For the album, show all associated songs once the nav-link is clicked.
Any help, especially on the 1st headache, would be amazing!