Posted by CSS Chatbox help?? - RESOLVED

Crescent (#228851)


View Forum Posts


Posted on
2024-08-11 14:31:11
I have this CSS code for my CSS template that I use personally, but for some reason this part in the code for the chat box that shows up on your page isn't working. Does anyone have any advise?

/*CHAT
/* Even Numbered Messages */
.s-chat-message:nth-child(even){
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}
/* Odd Numbered Messages */
.s-chat-message:nth-child(odd){
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}
/* Pinned Message */
.s-chat-message__pinned{
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}
/* Timestamps */
.s-chat-message_timestamp{
color: #824B46 !important;}
#chatMessageContainer {border: none !important;}
/* Channel Button */
button#label_currentChannel {
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;**}*/



Hrt Icon 0 players like this post! Like?

Edited on 17/08/24 @ 10:43:16 by Crescent (#228851)

Crabinabox
(They/them) (#184290)

Blessed
View Forum Posts


Posted on
2024-08-14 14:04:30
so, from what i can tell youve just got a couple weird asterisks?

try this and see if that fixes it:

/*CHAT
/* Even Numbered Messages */

.s-chat-message:nth-child(even){
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}

/* Odd Numbered Messages */

.s-chat-message:nth-child(odd){
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}

/* Pinned Message */

.s-chat-message__pinned{
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}

/* Timestamps */

.s-chat-message_timestamp {
color: #824B46 !important;
}

#chatMessageContainer {
border: none !important;
}

/* Channel Button */

button#label_currentChannel {
background: rgba(0,0,0, 1) !important;
color: rgba(0,0,0, 1) !important;
border: none !important;
}



Hrt Icon 0 players like this post! Like?

Crescent (#228851)


View Forum Posts


Posted on
2024-08-16 11:55:48
Ty!! I'll try it when I get back to my computer and lyk how it worked!



Hrt Icon 0 players like this post! Like?

Crescent (#228851)


View Forum Posts


Posted on
2024-08-17 10:42:46
@Crabinabox - That did fix it! tysm!!



Hrt Icon 0 players like this post! Like?

Crabinabox
(They/them) (#184290)

Blessed
View Forum Posts


Posted on
2024-08-17 14:44:28
no prob :3



Hrt Icon 0 players like this post! Like?







Memory Used: 625.26 KB - Queries: 2 - Query Time: 0.00091 - Total Time: 0.00417s