Support » Plugins » [Plugin: Aleph] Design users.php: Photo

  • 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=""><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 } ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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; }

    Hi Detective,

    that’s perfect, thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Aleph] Design users.php: Photo’ is closed to new replies.