Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 10 Months, 4 Weeks ago Category Spacing
#1
Solved: 8 Years, 10 Months, 4 Weeks ago Star 
I want to add individual spacing/padding to each individual category, issuing separate spacing/padding on different categories.

Such as;

forum-12 {padding-bottom: 10px}
forum-13 {padding-bottom: 7px}
forum-14 {padding-bottom: 15px}


Thanks! Smile
#2
Solved: 8 Years, 10 Months, 4 Weeks ago
use the category number in the css class -

in your forumbit_depth1_cat template make a div round the whole template and on the div tag add this:

<div id="cat_{$forum['fid']}">

Now you can target the category via the class .cat_12 (where category number is 12).
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)