YourUI_Official Hello Everyone, Is there any way to set the background colour of a post to any other colour in Flarum? Thank You
[deleted] YourUI_Official Possible, yes, but you'd probably need to target the body CSS class - however, this would then remain the same no matter what post you view (or page). What are you looking to accomplish ?
YourUI_Official Thank you very much [deleted] 😃 . Can you please give me an example so, I can know that
[deleted] YourUI_Official Sure - can you provide a link to your site so I can make sure the CSS I provide will work ?
[deleted] YourUI_Official This should work body { background: #000000; } Obviously, use the HEX value that you want. As a point of interest, your site uses colours which make it VERY hard to read.
[deleted] YourUI_Official Exactly - as I pointed out here - https://discuss.flarum.org/d/28533-background-colour-of-a-post-to-any-other-colour/2
YourUI_Official [deleted] But isn't there any way that only admin's post colour will change to other colour?
[deleted] YourUI_Official You can probably change the first poster's background color, but I'm not sure if you can target an admin user without checking
Justoverclock YourUI_Official you need a custom extension for that, as phenomlab say, is not possible with only css
Justoverclock YourUI_Official you need to write your own extension for that, or hire someone that can do that for you
Prosperous YourUI_Official I suggest posting a request discussion using the Resources > Services tag to see if someone can help you. Otherwise I can change the tags on this discussion to help find someone for you that may be interested in helping out.
Prosperous YourUI_Official Done mate. Feel free to update your original post to let people know this is a request. 🙂