Hi! So the project (CMS) page on my website is structured into two halves - both with scrolling content. The right half works fine. However, with the left half, I don’t want the scrolling bar in the div block to be visible. I was wondering if there is a way to make it invisible?
Strictly speaking, to just make the div’s scrollbar invisible, you can just set it to overflow:hidden—but that makes it impossible to scroll, so I don’t think that’s what you’re after!
My suggestion would be to remove all the positioning and sizing/margins/etc on all your elements, wrap both Section and Work Section in a container, and set that container to display:flex. That will position your columns next to each other and allow them to scroll at the same rate.
Hi CB, thank you so much for getting back to me! Your solution definitely made the page cleaner and that’s going to be my backup. But I was wondering if there is a way to make the project name, student name and year (everything in the “sticky project title block”) fixed and allow the project description to scroll beneath that?
Thank you CB and Julian! Your steps worked like a charm. However, my tutors in the end decided not to go for this option and to stick with the basic one…
However, I’m having an issue with “footer” on this same page and I was hoping you could help me with this: The “back to projects” and “next project” links, which are supposed to be at the bottom of the page are hidden behind the images. I believe this is because the Div Block that houses the video and image containers doesn’t recognise the height of the multiple images inside the image container. How can I essentially push the “back to projects” and “next project” links to the bottom of the page?
@neths13, it’s great to hear we were able to help you.
Change your Work section from position: absolute; to position: relative. Alternatively, reset position all together. This respects the height of the images.