• Resolved DandyGomez

    (@dandygomez)


    Hello.

    How do I put the date on the right side of the page, instead of the default left side?

    Thanks in advance,
    D.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello DandyGomez,

    To move the post date to the right, copy and paste the following CSS in your custom stylesheet:

    .post-date {
    float: right !important;
    }
    Thread Starter DandyGomez

    (@dandygomez)

    That seems to work on all the site except in the articles.

    Does anyone know the single.php modification required?

    Thanks in advance,
    D.

    Near the top of single.php change this line:

    <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> &middot; <?php the_time(get_option('date_format')); ?></p>

    to this:

    <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> <span class="post-date"><?php the_time(get_option('date_format')); ?></span></p>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing date display on articles’ is closed to new replies.