Archived topic
inline post meta items on a page?
3 replies · Started by Erika on September 1, 2022
Hi there,
I created a reusable block for social media buttons. In the footer they are displayed as inline post meta items. If I insert the block into a page, they do not display as inline elements. I guess it is because it is a page and not an element where they are inserted. Is there a way to queue the social media buttons on the page exactly like they are in the footer?
Thank you
Erika
Hi Erika,
Try adding an addtional CSS class to the parent container block of the social media icons, eg. social-icons:
https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/
then add this CSS:
.gb-container.social-icons>.gb-inside-container {
display: flex;
}
Of course :) Thank you.
No problem :)