Support » Plugin: Author Spotlight (Widget) » [Plugin: Author Spotlight (Widget)] How to center user photo in the sidebar

  • Thanks for a great plugin.

    I’m having difficulties getting the user photo (yes, using the recommended additional plugin) to align in the middle of the sidebar.

    I have put the image on top and removed the Gravatar option, as you can see. This code below will align the image to the right. How do I get it to align in the middle? I’ve tried everything but just can’t figure it out.

    //Display User photo OR the Gravatar
    			echo userphoto_the_author_photo();
    
    			//Display author name
    			echo '<center><strong id="author_name">'.get_the_author_firstname().' '.get_the_author_lastname().'</center></strong>';

    Any help greatly appreciated!

    http://wordpress.org/extend/plugins/author-profile/

  • The topic ‘[Plugin: Author Spotlight (Widget)] How to center user photo in the sidebar’ is closed to new replies.