The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chatbox Message

View previous topic View next topic Go down

Solved Chatbox Message

Post by Ace 1 on September 11th 2015, 2:22 pm

I want it so that a Message is set into the chatbox. Not the entry message on the chatbox customization post by Buttercup.

I want the first message to have a red text that looks as if a regular user sent it. But it is just set at the top of chatbox. Sorry if this is confusing.


Last edited by Ace 1 on September 11th 2015, 4:15 pm; edited 1 time in total

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Chatbox Message

Post by Ange Tuteur on September 11th 2015, 2:36 pm

Hi @Ace 1,

I think I get what you mean. You want a default message already entered into the chatbox, correct ? This CSS should do the trick :
Code:
#chatbox:before {
  content:"Chatbox message !";
  color:#F00;
  font-size:12px;
  font-weight:bold;
  background:#E1EBF2;
  display:block;
  padding:8px;
}

If any questions let me know.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Chatbox Message

Post by Ace 1 on September 11th 2015, 2:44 pm

This works how I like. I fooled around with the padding and removed the bgcolor just cuz XD

Anyways, you know how I can add an href inside the content?

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Chatbox Message

Post by Ange Tuteur on September 11th 2015, 3:15 pm

Unfortunately you cannot add html with the content property ; only text. You can take a look over the different content that can be included though : http://www.w3schools.com/cssref/pr_gen_content.asp

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Chatbox Message

Post by Ace 1 on September 11th 2015, 4:15 pm

kk Solved.

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Chatbox Message

Post by Ange Tuteur on September 11th 2015, 4:17 pm

Topic archived

Have a nice day. Smile

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum