For Blocs sites that have several essays, it would be great to have a sub menu that appears towards the end of an essay to prompt readers to check out other work. In a sense it’s sticky but not, thus my confusion of how to make it work on a page where several blocs are required to layout the essay.
Yeah, but I need it to float. Comes in halfway down a page scroll and stays in position even as the page continues to scroll down. I’ve done this with main navigations (Hero menu etc.) but never within a page, on the side as you can see in the MIT example where it appears that the page’s two columns scroll in different manners.
Oh right. I didn’t see that on an iPad at first. The side menu scroll off the screen because of the ads below it.
Similar principle to the nav bar. It’s just applying a class that fixes it when you get to a scroll point.
It looks like (and again I’m only on my iPad so can’t look at the HTML) that it scrolls stops and then scrolls again when you get to a certain scroll point with the main content.
I might actually forgo this on smaller breakpoints. Are there specifics instructions or resources you could point me to here. Love to see if I can nail this down.
Interesting. I just applied this to no avail. But I did find the article that might help given how I’m trying to implement this. Thanks for pointing me in the right direction.
One would think. But how? I’ve been examining the HTML/CSS/JS from the Github files and am struggling to see how to incorporate them my Blocs project or the dame files it produces on export.
[Unfortunately “position-fixed” feels like a dead end here. The class doesn’t have a way to customize how the object scrolls and so it sits high and then disappears beneath large footers.]
Actually it does works until you put a footer underneath it and then the column with ‘position-fixed’ attributed to it disappears into that footer.
Hey @Malachiman, I’ve not had much luck using the Github example unfortunately. I’m fine with just using “position-fixed” as long as I can figure out why it scrolls perfectly when no footer is used, but then disappears when a footer is used. I thought applying this class mean the object would remain fixed only within the bloc of the parent object and not move anywhere beyond that. Am I missing something really obvious here?