Came across something weird while trying to write a post today with Gutenberg installed.
In a post, I have embedded a WordPress block and added the CSS style position:sticky to an H3 element that is further down the page.
Using position:sticky seems to break the WordPress block. The blockquote part of the WordPress block is no longer set to display:none, and “Get This Plugin” button is no longer clickable.
I’ve yet to figure out how I can patch the block so that I can use sticky on the same post.
I’m using the Genesis Magazine Pro child-theme if this issue isn’t outright reproducible.
EDIT: The WordPress block seems to be pretty fragile. Just adding a bit of CSS to centre align the box breaks the block too.
- The topic ‘Position:Sticky Breaks Embedded WordPress Block’ is closed to new replies.