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

[-]
Tags
to colored mybb add headings category multiple how

How To Add Multiple Colored Category Headings On Mybb
#1
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);


Enjoy!
#2
Tanks boss ur the best
#3
thanks bro for the this
#4
Na u Biko @Pedro
  


Possibly Related Threads...
ThreadAuthor Replies Views Last Post
  HELP: Help Me Install Mybb On My Hosting I Will Pay Jadonking042 2 89 12-09-2017, 08:31 PM
Last Post: Badooskid
  HELP: I Need Mybb Help prince 2 60 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 44 11-02-2017, 06:32 PM
Last Post: Otahumele
  How To Add A Beautiful Pagination On Mybb Pedro 1 190 10-31-2017, 05:16 PM
Last Post: Dhron
  How Can I Unforce Mybb Theme on Users donblade 0 63 10-20-2017, 02:56 PM
Last Post: donblade
  HELP: How To Edit Mybb Template prince 15 188 10-18-2017, 12:15 AM
Last Post: prince
  How To Code A Simple Jquery Drop Down Login Form For Mybb James 3 161 10-16-2017, 10:44 AM
Last Post: kharlm
  HELP: Mybb Mydownloads Plugin Cybersky 5 106 10-16-2017, 01:02 AM
Last Post: Cybersky



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