Support » Theme: Twenty Nineteen » name of the author too close of the date

Viewing 3 replies - 1 through 3 (of 3 total)
  • For some reason there isn’t a <span> tag surrounding the name like there is for the date/etc. You can fix the spacing by adding the following into Appearance->Customize->Additional CSS

    .entry-footer > .url {
        margin-right: 22px;
    • This reply was modified 9 months, 3 weeks ago by Jarret.

    the original span must have been deleted through some edits or by the translation.
    check the theme’s /inc/template-tags.php file for this section, or check if your child theme’s functions.php has a corresponding code:

    if ( ! function_exists( 'twentynineteen_posted_by' ) ) :
    	 * Prints HTML with meta information about theme author.
    	function twentynineteen_posted_by() {
    			/* translators: 1: SVG icon. 2: post author, only visible to screen readers. 3: author link. */
    			'<span class="byline">%1$s<span class="screen-reader-text">%2$s</span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',
    			twentynineteen_get_icon_svg( 'person', 16 ),
    			__( 'Posted by', 'twentynineteen' ),
    			esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    			esc_html( get_the_author() )

    thank you guys! it worked!
    i tried the solution of the first answer and it already worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘name of the author too close of the date’ is closed to new replies.