[Resolved] Make Date a different color at top of posts?

Home Forums Support [Resolved] Make Date a different color at top of posts?

Home Forums Support Make Date a different color at top of posts?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1028744
    Carol

    I’m using this php to remove link from date.

    add_filter( ‘generate_post_date_output’, function( $output, $time_string ) {
    printf( ‘<span class=”posted-on”>%s</span>’,
    $time_string
    );
    }, 10, 2 );

    Is it possible to make the text a certain color?

    Thank you.
    Carol

    X80Ws+031v45

    #1028747
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    span.posted-on {
        color: #1c75bb;
    }

    Let me know if this helps ๐Ÿ™‚

    #1028749
    Carol

    Thank you very much!

    #1028751
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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