0

I currently have this website.

Which produces the current output: normal

But when I scroll, this happens: scrolled

Any suggestions? Thanks.

EDIT: To be more specific, the problem is the option appearing over the header when I scroll. The scrollbar is hidden on purpose.

The header is styled as position: sticky if that is of any help (check the link at the beginning for the preview, code is available at devtools)

2
  • Does this answer your question? Hide scroll bar, but while still being able to scroll Commented Feb 20, 2021 at 12:42
  • @ShawnW not really, I already have hidden the scrollbar. My issue is the text at the top of the question when I scroll Commented Feb 20, 2021 at 12:49

1 Answer 1

1

Remove padding: 10px from your .qa-container class and add border: 10px solid #fff to your .question class and then add padding: 0 10px to your .answers class.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.