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

XF 1.3 Place username and icon on same line

Discussion in 'Styling and Customization Questions' started by ibaker, Jun 15, 2014.

  1. ibaker

    ibaker Well-Known Member

    I am trying to place an icon after a username in the sidebar_online_users template however the icon is always displayed on a new line. The code is:
    <xen:username user="$user" rich="false" />
    <a href="javascript:;" onClick="jqac.arrowchat.chatWith('{$user.user_id}');"><img src="images/user_chat.png" alt="Chat" /></a>
    Can anyone advise how I can have the username, a space and then the icon...thanks

Share This Page