MyBB Community Forums

Full Version: CSS Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In my plugin im using the "str_replace" as shown below:

$templates->cache['forumdisplay_thread'] = str_replace('<td class="{$bgcolor}{$thread_type_class}">', '<td class="\"new_thread\"{$thread_type_class}">',$templates->cache['forumdisplay_thread']);

Its replacing the string as i want. My only problem is i cant attach the css class to it for some reason, ive added the a link to the css class in "headerinclude" , ive added it to global css , but it just refuses to display the class. Huh

Maybe someone might have a heads up on this Wink

EDIT:

I sorted it , its actually to embarrassing to tell you what i was doing wrong lol Blush