[Resolved] Change size and position of meta

Home Forums Support [Resolved] Change size and position of meta

Home Forums Support Change size and position of meta

  • This topic has 1 reply, 2 voices, and was last updated 6 years ago by Leo.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #541317
    madmanweb

    Hi.

    Is there a way to change the size of the meta info below the title? I looked up and down the typography menu in the customiser and couldn’t see one.

    Also, how would I move it to another position like, say, the bottom of the post?

    #541497
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS to change the entry meta:

    .entry-meta {
        font-size: 20px;
    }

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

    This snippet should move it to the bottom of the post:

    add_action( 'after_setup_theme', 'generate_move_post_meta' );
    function generate_move_post_meta()
    {
        remove_action( 'generate_after_entry_title', 'generate_post_meta' );
        add_action( 'generate_after_content', 'generate_post_meta' );
    }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

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