WordPress.org

Ready to get started?Download WordPress

Forums

Getting Avatar to line up right in header (1 post)

  1. myoelectric
    Member
    Posted 1 year ago #

    My avatar line's up really goofy in the header. I'm wanting it to just float between title and date aligned to the left. Or possible all the way on the right. You can see what I mean by going to http://myoelectric.net

    Current php code:

    <article id="post-<?php the_ID(); ?>" <?php post_class('single'); ?>>
    <header>
    <h2><? echo get_avatar( get_the_author_meta('user_email'), $size = '50'); ?><?php the_title(); ?></h2>
    <div class="entry-meta">
    <?php the_time('F j, Y') ?> |
    <?php echo __( 'Posted in ', 'gamepress' ).' '. get_the_category_list( __( ', ', 'gamepress' ) ); ?> |
    <?php comments_popup_link(__('No comments','gamepress'), __('1 comment','gamepress'), __('Comments: %','gamepress')); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic