Posted by Help with Chat CSS on Clan page

Kuura ❄️ [G2
Nrlc] (#186525)

Brave
View Forum Posts


Posted on
2022-10-26 04:25:08
Hi yall! I've been trying to get my CSS file to affect the Chat on a Clan page. I've been using the same css code as I've used on my den pages, but it seems to not work on a clan page for some reason. Does anyone have any ideas what could be causing this? Here is my code (based on Katie#106445's Free CSS template):

/* CHAT */
.s-chat-message:nth-child(even) {
background: #202955 !important;
border: none !important;
}

.s-chat-message:nth-child(odd) {
background: #141b40 !important;
border: none !important;
}

/* PINNED MESSAGE */
.s-chat-message__pinned {
background: #1f2b71 !important;
color: #ffffff !important;
border: none !important;
}

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

div#chatMessageContainer {
border: none !important;
}



Hrt Icon 0 players like this post! Like?

Trace (#68847)


View Forum Posts


Posted on
2022-10-30 09:16:47
I have tried testing myself on why the Chat CSS doesn't work on certain pages. I believe the default Lioden CSS (of whatever theme you are using) will override the custom CSS on not just clan pages but also cave pages. Even forcing the CSS elements using !important won't do the trick. Hopefully, custom CSS on chats will work outside of den pages in the future.



Hrt Icon 0 players like this post! Like?







Memory Used: 629.62 KB - Queries: 2 - Query Time: 0.00038 - Total Time: 0.00418s