Sticky position block support

WordPress 6.2 adds a new position block support feature, beginning with support for sticky positioning, with the Group block opted-in by default. For themes using the appearanceTools feature in theme.json, the Group block will now be able to be set to “sticky”. The sticky positioning feature follows the CSS behavior for position: sticky which sets an element to stick to its immediate parent (in this case, the block’s immediate parent) when the user scrolls down the page.

This post was originally published on Make Core by Andrew Serong.

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.