CTXMedia
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:
 
	
	
	
		
 
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?
 
Thanks,
Shaun
				
			
		Rich (BB code):
	
	<!-- block: sidebar_online_staff -->
<xen:if hascontent="true">
    <div class="section staffOnline avatarList">
        <div class="secondaryContent">
            <h3>{xen:phrase staff_online_now}</h3>
            <ul>
                <xen:contentcheck>
                    <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" />
                        </xen:if>
                    </xen:foreach>
                </xen:contentcheck>
            </ul>
        </div>
    </div>
</xen:if>
<!-- 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?
Thanks,
Shaun

 
 
		 
 
		 
 
		 
 
		