Hello @alanaj7, Only CSS is not enough to keep the sticky post pinned to the top. You can use a custom query to keep pinned. There are also many sticky plugins that you can try. Hope this helps.
The “Latest Posts” block does exactly what it says: it only displays the latest posts, regardless of how they are marked.
If you want to use the sticky tag for posts, I would recommend the Query Loop block instead, see: https://ww.wp.xz.cn/documentation/article/query-loop-block/ – this also takes the sticky tag for posts into account by default. I was just able to test this out myself.
Hi @asadullah96
Thank you for responding! I am currently using the Recent Posts Widget with Thumbnails (which does accomplish my objective of pinning the sticky posts). I prefer the display appearance of the Gutenberg Latest Posts block, and was hoping to pin the sticky posts without using a plugin.
I’m not an experienced coder, but will definitely look into your suggestion with the custom query.
Thanks again, and have a great week ahead!
The query block does not require any coding. Simply review the options and customize the template according to your preferences. I believe it could appear similar to the “Latest Block.”