MyBB Community Forums

Full Version: Sticky thread backgroundcolor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

MikeInToshx

Hey guys,

I'm wondering how to change the sticky thread's background color for my theme.

It is NOT this:

.forumdisplay_sticky
{
background-color: #666666 !important;
}


That only makes the lastpost table change.

Cheers
{$thread_type_class} class is missing in the other table cells of the row in forumdisplay_thread template
that is the reason for not working of above code

MikeInToshx

Ah, is it fixable?

I do see this line:
<td class="trow1{$thread_type_class}" style="white-space: nowrap; text-align: right;">
^ yes, it is actually like <td class="{$bgcolor} {$thread_type_class}" ____________________>
{$thread_type_class} should be used for all td cells of the thread row in forumdisplay_thread template

MikeInToshx

Meeh I can't get it to work -_-

<td class="trow1{$thread_type_class} sticky_background" style="white-space: nowrap; text-align: right;" >

like this? :s
^ oh, no. it is like <td class="{$bgcolor} {$thread_type_class}" ____________________>
forumdisplay_sticky class comes from {$thread_type_class} variable

MikeInToshx

Could u just provide me with the code.. I'm confused on what to replace what with what.

I got it Big Grin
I wonder what the 2 white fade things are doing there though.. I had this with my avatars too. That one I was able to remove.

[attachment=30618]