[resolved] [Plugin: Aleph] Design users.php: Photo (3 posts)

  1. Chris Andersen
    Posted 7 years ago #

    Hi Detective,

    on my users.php
    the photo should be in the right box. I tried different things... no success.

    How should I do that? Here is my code:

    <ol class="user-list">
    		<?php while (have_users()){ the_user(); ?>
    		<li class="user">
    <a href="http://www.c-salsa.com/wp-login.php?"><img src="Upload photo" width="90" height="90" align="right" vspace="10" hspace="20" alt="Upload Photo"></a><a href="<?php echo aleph_get_user_profile_url(); ?>"><h2><?php aleph_the_user_complete_name(); ?></a></a></h2>
    <li>Username: <class="user-name" id="user-<?php aleph_the_user_ID(); ?>"><?php aleph_the_user_profile_link(); ?>
    <li><?php echo aleph_get_user_cimy_field('city'); ?> | <?php echo aleph_get_user_cimy_field('country'); ?></li>
    <li><?php aleph_the_taxonomy_link('author-contacts'); ?></li>
    <li><?php aleph_the_user_avatar('<li class="user-avatar">', '</li>'); ?>
    		<?php } ?>
  2. Detective
    Posted 7 years ago #

    That's a matter of css. Perhaps you could do the following:

    <li class="user-avatar"><?php aleph_the_user_avatar(); ?></li>

    And put the following in your themes' style.css:

    li.user-avatar img { float: right; }

  3. Chris Andersen
    Posted 7 years ago #

    Hi Detective,

    that's perfect, thanks a lot.

Topic Closed

This topic has been closed to new replies.

About this Topic