MyBB Community Forums

Full Version: Post font color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here's a question, and I'd appreciate any direction yous folks could grant me...

I'm working on a new site and I'm stuck.

Where would I be able to change the font color for the posts in a thread?

Thanks.
Hello

open ./inc/class_parser.php

Find

$message = $plugins->run_hooks("parse_message_end", $message);
				
		return $message;

replace with
$message = $plugins->run_hooks("parse_message_end", $message);
				
		return "<span style=\"color:#FF0000\">$message</span>";

regards
Uhh...you can do this with css and the templates really. Look into alternating row1 and alternating row2. If you want setup new classes for them in the postbit templates like row3 and row4 and then edit your theme to have these new templates. I never advise core file changes if you can do it another way.
Quote:Look into alternating row1 and alternating row2

Those are use all over the board, and he doesn't want to change the color everywhere.
That's my point about editing postbit to create row3 and row4...then he can add to the theme CSS.

IMHO it's always better to seek an alternative to core file changes...especially global which is update at almost every update.
Thanks for the help guys!

I'll give a look into both alternatives.

I kinda agree about core changes. It's not something I'd like to do. The updates are including more and more files it seems.
Yeah, i know.. LOL i should have put the 2 ways in post. Toungue