Current status of the Ning Platform is always available on the Ning Status Blog.

Adding A Background Image to Chats

This was asked from JAIME DIAZ SALAZAR who wanted to know if a background image could be added to the chat windows like this

8267517472?profile=RESIZE_710x8267520657?profile=RESIZE_710xSo here is how you can do it

First you need the images you want to use then add it to your file manager in your Social Site Builder

Next you will need to copy the link to the image ready to be added to css code

8267530500?profile=RESIZE_710xThat line you will need to add in the css where it says insert image link

So here is the css which you will need to add to your design studio custom css

 

.xg_chat.chatFooter .xg_chatWindow ul.xg_messageList, .xg_chatWindow ul.xg_messageList, .xg_chat.chatModule .xg_chatWindow {
background-image: url(" insert image link here ")!important;
background-position: top center;
background-size: initial;
background-repeat: repeat;
}
.xg_chat.chatModule .xg_userWindow, .xg_chat.chatModule .xg_chatWindow .xg_messageListFooter{
background-image:none!important; background-color:white!important
}
.icon-closeChat::before{
color: darkred!important
}
.xg_chat .xg_messageList > li .cht-state {
color: darkred!important
}

/** NEW LINE FOR THE SENDER WHO SENT IT TEST COLOUR CHANGE THE COLOUR TO WHAT YOU NEED FOR IT TO STAND OUT AGAINST YOUR BACKGROUND **/

.xg_chat .xg_messageList > li > ._sender { color: #1c0303 }

 

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • I've tested this on my themes as well so the backgrounds change depending on the theme used, so for instance if I visit my page or another members page who are using the thrones theme they get the stark banner image in the chats like this

    8267541873?profile=RESIZE_930x

    Go to a members who is using the Steampunk theme they get a steampunk image in the chat. The default image shows for anyone not using a theme.

  • NC for Hire

    Bizz 8270109494?profile=RESIZE_930x

    thank you so much
    • No worries, by the way here is another line to add so you can control the color of who sent the message as can get hidden in the background image. You just edit the colour for the text colour you want.

      .xg_chat .xg_messageList > li > ._sender { color: #1c0303 }

  • NC for Hire

    8321564092?profile=RESIZE_930x

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

John Hodge updated their profile
4 hours ago
Rhonda replied to ⚡JFarrow⌁'s discussion
Time Saver: Your RSS Feeds for Location Tags on Ning
"Hi JFarrow,
I was wondering if you had a code for birthdays. I accidentally deleted the code that I…"
Tuesday
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Time Saver: Your RSS Feeds for Location Tags on Ning
"Use the feeds inside this awesome RSS Feed tool"
Apr 25
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Amazing Tool to Automate Your Content Discovery, RSS and Sharing Community Content
"It would be Nice if Ning updated this page"
Apr 25
Ron updated their profile
Apr 24
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Style Hack: How to Have Different Backgrounds for Different Groups
"still love this hack"
Apr 23
Alina Langley replied to Suzie Nielsen's discussion
Ning 2.0 For Sale
"Do you atill have a NING 2.0 site? I am looking for one, please DM me :)"
Apr 12
Alina Langley updated their profile photo
Apr 12
Alina Langley updated their profile
Apr 12
LEO Mobile App Builder updated their profile
Mar 26
Aase Lillian replied to Aase Lillian's discussion
Community - activity page
"Ok, thank you. Please send me details as I have no idea on how to do it. "
Mar 19
Aase Lillian and ⚡JFarrow⌁ are now friends
NC for Hire
Mar 19
More…

Meanwhile, you can check our social media channels