1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Staff online list - Just a row of small avatars?

Discussion in 'Styling and Customization Questions' started by CyclingTribe, Dec 5, 2011.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I'd like to reduce the height of my staff online list so edited the sidebar_online_users template to remove the listing markers and reduce the loop to just avatars:

    <!-- block: sidebar_online_staff -->
    <xen:if hascontent="true">
        <div class="section staffOnline avatarList">
            <div class="secondaryContent">
                <h3>{xen:phrase staff_online_now}</h3>
                        <xen:foreach loop="$onlineUsers.records" value="$user">
                            <xen:if is="{$user.is_moderator} OR {$user.is_admin}">
                                    <xen:avatar user="$user" size="s" img="true" />
    <!-- end block: sidebar_online_staff -->
    But now the Staff Online container has no height and the avatars break out of the bottom of the block.

    Any idea how I can have the avatars in rows but retain them within the boundaries of the container box?

    Shaun :D
  2. Forsaken

    Forsaken Well-Known Member

    GeeksChat likes this.
  3. CyclingTribe

    CyclingTribe Well-Known Member

Share This Page