Forum
Welcome, Guest
Please Login to access forum.
Preventing user name from wrapping (1 viewing) 
Go to bottom
TOPIC: Preventing user name from wrapping
#899
Jan Deruiter
Fresh Boarder
Posts: 1
User Offline
Preventing user name from wrapping Karma: 0  
we just bought your plugin and it seems like what we've been looking for. great work.

One question: do you have a snippet of CSS that i can add to my site's CSS that would prevent the user name from wrapping? I'd rather show the user name on its own line followed by the msg by that user.

i don't want to adjust the code as it will be overwritten in the event of an upgrade. Basically i am looking for a break between the user name span and the msg itself.

See image below.




thank you !
 
Logged Logged  
  The administrator has disabled public write access.
#900
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Preventing user name from wrapping Karma: 79  
Hello Jan, thanks a lot!

You could try to add this piece of CSS to your template file so to avoid override.
This should give more space to the name preventing wrapping.

Code:

#jchat_wall_popup span.jchat_chatboxmessagecontent { max-width: 50%; }
Code:

#jchat_wall_popup span.jchat_chatboxmessagefrom strong { max-width: 90px; word-break: break-all; }
Regards! John
 
Logged Logged  
  The administrator has disabled public write access.
Go to top