Hi Josh,
Thanks for trying out the sticky block feature. This feature is very context-sensitive, so it might not work as you expect based on your setup. We will check to see if there are any compatibility problems.
I would appreciate the answer to the following question regarding your setup; this will help me to scope the problem better:
- What are blocks trying to make sticky?
- Is the block you are trying to make sticky in another container block (like Section, Group, Columns, or Tab)?
- What options do you use? (position, behavior) (a screenshot with the options will be very helpful)
Have a great day!
Thread Starter
Josh
(@joshpugh)
Thanks so much for the quick response.
- What are blocks trying to make sticky?
- I tried a few different combinations including a paragraph block, a Section block (from Otter), and a custom plugin for a floating table of contents directly (the main aim of my goal)
- Is the block you are trying to make sticky in another container block (like Section, Group, Columns, or Tab)?
- I tried as many combos as I could: Inside a section & sticky the element to the parent + inside a section & stick the Section parent to the screen + not in a section & stick it to the Screen
- What options do you use? (position, behavior) (a screenshot with the options will be very helpful)
- I tried all variations of top/bottom/offset etc. I can make it all work perfectly if it’s a block inside the page instead of a block inside a widget, so I think I understand the functionality as it’s intended.
Thanks for the answers!
I made a test page with a sticky group block in the Sidebar to check the base functionality: https://recommenddowntown.s2-tastewp.com/2023/02/13/sticky-test/. If something like this can not be done on your page, then it might be 2 cases:
- I misunderstood your context.
- There might some plugins that blocks the functionality. (ex.: filters that remove content from widgets)
In both cases, I will kindly need a link to the page where you are trying to add the sticky block. I will try to recreate your scenario. Also, if there is a plugin you think can affect a page, do not hesitate to mention it.
Have a great day!
Thread Starter
Josh
(@joshpugh)
Thanks again! So I copied your idea of using a Blog Group and that’s worked, thanks so much for your help!
-
This reply was modified 3 years, 3 months ago by
Josh.
I’m glad that it worked out for you.