Id love to give a link if poss... but its not unfortunately.
50px was just an example, it was the first key I hit
PHP Code:
case ($box_categories_array[$i]['top'] == 'true'):
$new_style = 'category-top';
break;
Is from the categories template file so I added the css in the above post.
I just realised that you might have to go digging to look for that code above so heres a bit more from the same template file.
PHP Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
for ($i=0;$i<sizeof($box_categories_array);$i++) {
switch(true) {
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
// case ($box_categories_array[$i]['path'] == 'cPath=3'):
// $new_style = 'category-holiday';
// break;
case ($box_categories_array[$i]['top'] == 'true'):
$new_style = 'category-top';
break;
Bookmarks