0
Welcome Guest! Login
0 items Join Now

Solved - Change Postion of Author Photo

  • Solved - Change Postion of Author Photo

    Posted 14 years 4 months ago
    • Hi, I'm using Gravatars to show my blog's author photos. I'm trying to change the position of the picture.

      I'm trying to get it like the RocketTheme forums, to the right of the comment / post instead of underneath (see pic).

      Any help would be great.
      This image is hidden for guests.
      Please log in or register to see it.

      Thanks!
    • Last Edit: 14 years 4 months ago by james rice.
  • Re: Solved - Change Postion of Author Photo

    Posted 14 years 4 months ago
    • Hello,

      Can we get a url to your site so we can poke around with Firebug?
  • Re: Solved - Change Postion of Author Photo

    Posted 14 years 4 months ago
  • Re: Solved - Change Postion of Author Photo

    Posted 14 years 4 months ago
    • Hi,

      Please replace the <p> and </p> that's around your gravatar with <div style="float:right; margin-top: -15px; margin-bottom: 10px;"> and </div>

      This should help.

      Cheers
      Jakub
    • Remember to always post a link to the site you're having problem with.
  • Re: Solved - Change Postion of Author Photo

    Posted 14 years 4 months ago
    • Hey Jakub - Thanks Buddy! That worked.

      Here's the whole thing if anyone else wants a Gravatar for their blogger's pictures:

      Found around Line 65 on index.php:

      <p class="iteminfo"> <span class="modifydate"><?php _re('Last Updated on'); ?> <?php the_modified_date('l, j F o h:i'); ?></span>
      <span class="createdby"><?php _re('Written by'); ?> <?php the_author(); ?>
      <div style="float:right; margin-top: -15px; margin-bottom: 10px;"><?php echo get_avatar( get_the_author_email(), '80' ); ?></div></span>

Time to create page: 0.052 seconds