Posted by Need help w/ my profile

FatJelly (#488273)

Dreamboat of Ladies
View Forum Posts


Posted on
2024-09-08 08:13:54
DON'T GIVE ME FREE CUSTOM CSS TO USE, for the love of god..

Currently, I'm trying to figure out how to specifically color the font in my profile right now. (The territory description font) Do I use rgba, or a specifically named color?

Also, how would the coding need to look for me to color the comment box of my profile?



Hrt Icon 0 players like this post! Like?

Chris (Main) 🌼 (#105465)

Heavenly
View Forum Posts


Posted on
2024-09-09 10:05:43
to color the territory description the css selector you'll need to use is #fraProfileContent and you can use rgb, hex, or a color name in the color attribute to change it just like with any other color properties and I personally recommend hexcodes since they're the easiest to swap out quickly when testing different ones

as for the comment box the selectors you'll need are #commentBox for the whole thing, .comment:nth-child(even) to style every other comment like in chat (this is also done by default so you'll want to do this regardless), and if you want to style the scrollbar you'll need #commentBox::-webkit-scrollbar for the background of the scrollbar (which I recommend keeping that part white for accessibility reasons and have found that a width of 8px works very well for it), #commentBox::-webkit-scrollbar-thumb for the part that you click and drag, and then #commentBox::-webkit-scrollbar-thumb:hover to change the color of the draggable part when hovered over

very important about the comment box is that since the styling for that is defined in a style element in the html, the border, border-radius, and height properties of #commentBox will need to be marked important as will the background property of .comment:nth-child(even) otherwise the changes will not be applied as they'll be overridden by the default styling



Hrt Icon 1 player likes this post! Like?

FatJelly (#488273)

Dreamboat of Ladies
View Forum Posts


Posted on
2024-09-09 13:08:23
Thanks! I managed to figure this out yesterday after a few minutes to hours of searching, but I greatly appreciate your help because no one else ever replies



Hrt Icon 0 players like this post! Like?







Memory Used: 624.56 KB - Queries: 2 - Query Time: 0.00038 - Total Time: 0.00376s