MyBB Community Forums

Full Version: Color Sticky & Closed Threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
https://community.mybb.com/thread-174072.html

Like the thread above, I'd like to remove the dividers between Important Threads and Normal threads and simply changing the colors. Keep Sticky threads at the top, but instead of having them divided from other threads simply change the color. Then I wanna be able to color closed threads as well.

How would I go about doing this?

Help is appreciated, thank you.

Okay so I managed to color Sticky threads using:

.forumdisplay_sticky {

  background-color: blue !important;
}

But, I can't figure out how to remove the dividers and/or color closed threads. Any ideas?

Another Update, I managed to figure out how to remove the Dividers. All I did was edit:

forumdisplay_sticky_sep	
forumdisplay_threads_sep

All that's left now is to figure out how to color Closed Threads. I'm stuck on this one ahaha anyone have an Idea how I could do this?
Hey Kioshi,
I feel the seperation can be removed by removing the border from trow1 and trow2. You can also change the colors using background section of trow1 and trow2.

Also for adding color to closed thread, you can modify the forumdisplay_thread template and replace

{$bgcolor}{$thread_type_class}

with

{$bgcolor}{$thread_type_class}{$folder}

And add color like this
.lockfolder {
  background-color: #fff; // Any color you want
}

.dot_hotlockfolder {
  background-color: #fff; // Any color you want
}

Hope it helps
(2017-01-28, 05:40 AM)WallBB Wrote: [ -> ]Hey Kioshi,
I feel the seperation can be removed by removing the border from trow1 and trow2. You can also change the colors using background section of trow1 and trow2.

Also for adding color to closed thread, you can modify the forumdisplay_thread template and replace

{$bgcolor}{$thread_type_class}

with

{$bgcolor}{$thread_type_class}{$folder}

And add color like this
.lockfolder {
  background-color: #fff; // Any color you want
}

.dot_hotlockfolder {
  background-color: #fff; // Any color you want
}

Hope it helps

Doesn't seem to work, when I made the edits you specified it just changed the color behind the star rating for some reason lol. I already have the background colored for sticky threads, I just can't get it for Closed threads. How strange
If thats the case than try this instead,
{$bgcolor}{$thread_type_class} custom_{$folder}

And also change
.custom_lockfolder {
 background-color: #fff; // Any color you want
}

.custom_dot_hotlockfolder {
 background-color: #fff; // Any color you want
}
(2017-01-28, 07:47 AM)WallBB Wrote: [ -> ]If thats the case than try this instead,
{$bgcolor}{$thread_type_class} custom_{$folder}

And also change
.custom_lockfolder {
 background-color: #fff; // Any color you want
}

.custom_dot_hotlockfolder {
 background-color: #fff; // Any color you want
}

Didn't work at first, so I changed it to:

.forumdisplay.custom_lockfolder {
background-color: #180327;
}

.forumdisplay_regular.custom_dot_lockfolder {
background-color: #180327; 
}

which slightly worked, it just doesn't cover two spots:

[Image: 0TwRRSs.png]

I'm unsure what the issue is tbh