Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

to colored mybb add headings category multiple how

How To Add Multiple Colored Category Headings On Mybb
Better response on post How To Add Multiple Colored Category Headings On MybbFirst edit the HTML.

Navigate to Templates > forumbit templates > forumbit_depth1_cat template.

Look for this code on 4th line.

<td class="thead" colspan="5">

Replace with:

<td class="thead" colspan="6" id="forum_cat_{$forum['fid']}">

So copy paste business lets you learn nothing. So here i explain what you are exactly doing.
You are assigning an ID for the category heading. As ID's are unique, they tend to have a property of assigning themselves to a particular element.

Now its Css time :
So you have to look for number of categories you have.
Look for their ID's in the admin panel > forums.

So every category needs to be having a particular ID and insert in following code:

#forum_cat_x {background:#D12C2C;}

x="ID Number of the Category.

For example:

The first forum cat ID is 1 then you have to insert the ID within the following code:

#forum_cat_1 {background:#111;}

So the next category has an ID 8 then the code becomes :

#forum_cat_8 {background:#222;}

So you have to assign color to every category you have and thus you can achieve multiple clored Thead/ Category Heading Backgrounds.
You can add images instead of colors too., instead of colors #xxxxxx
you need to add the image path ex: url(images/xx.png);

Tanks boss ur the best
thanks bro for the this
Na u Biko @Pedro

Possibly Related Threads...
ThreadAuthor Replies Views Last Post
  HELP: I Need Mybb Help Mr Elpee 0 26 02-05-2018, 09:47 PM
Last Post: Mr Elpee
  Pls Admin Help Needed On Mybb 9Jahype 14 321 01-29-2018, 08:27 AM
Last Post: major
  HELP: Help Me Install Mybb On My Hosting I Will Pay Jadonking042 2 148 12-09-2017, 08:31 PM
Last Post: Badooskid
  HELP: I Need Mybb Help prince 2 115 11-07-2017, 07:33 PM
Last Post: prince
  I Need The Premium Version Of Mybb Plugin For Moving Threads To Front Page Otahumele 0 94 11-02-2017, 06:32 PM
Last Post: Otahumele
  How To Add A Beautiful Pagination On Mybb Pedro 1 284 10-31-2017, 05:16 PM
Last Post: Dhron
  How Can I Unforce Mybb Theme on Users donblade 0 148 10-20-2017, 02:56 PM
Last Post: donblade
  HELP: How To Edit Mybb Template prince 15 271 10-18-2017, 12:15 AM
Last Post: prince

Users browsing this thread:
1 Guest(s)

List of Users who browsed this thread: ayodelesegun, Badooskid, Bigga, clive, Cybershow, Cybersky, daweb, Dhron, donblade, Emmaani, Otahumele, patrick, Pedro, policer, prince, rhexlord, samzkid, sholasunshine
How To Add Multiple Colored Category Headings On Mybb00