[Resolved] inline post meta items on a page?

Home Forums Support [Resolved] inline post meta items on a page?

Home Forums Support inline post meta items on a page?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2330459
    Erika

    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

    #2330828
    Ying
    Staff
    Customer Support

    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;
    }

    https://docs.generatepress.com/article/adding-css/

    #2331230
    Erika

    Of course ๐Ÿ™‚ Thank you.

    #2331767
    Ying
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.