News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Where is the location of the code to change category bar color on new post?

Started by Sean G., January 24, 2009, 09:16:19 PM

Previous topic - Next topic

Sean G.

When a new post is made, it changes the color of the category bar within that board.  I want to change that, but forgot where the code is in the CSS.

I hope I said that correctly.

Thank you again.

Sean

shadow82x

I believe you been catbg2 and catbg  on the board index, right?

Catbg = no new posts per category
Catbg2 = new posts per category

You can change the image location of catbg in style.css
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
   background: url(images/catbg.jpg) #88A6C0 repeat-x;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
   background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}

Note: The css code may differ according to your theme
Colin B
Former Spammer, Customize, & Support Team Member

Sean G.


shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: