Try adding
line-height: 30px;
to .categoryListBoxContents {}
Centers it nicely in Firefox, but I can't view that test in IE.
Try adding
line-height: 30px;
to .categoryListBoxContents {}
Centers it nicely in Firefox, but I can't view that test in IE.
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe
Oops, missed Rob's line-height item.
Have you triedIt worked just the same as applying it to .categoryListBoxContents { when I tried it in FF, but maybe it will make IE behave where the first version didn't.Code:.categoryListBoxContents a { line-height: 30px; }
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe
Alright...this is where I am getting stuck LOL
That piece of code is pulled from includes/modules/category_row.php in the following code:
I can see where I remove the break....however I am not sure how to remove the image without screwing it up LOLCode:if (!$categories->fields['categories_image']) !$categories->fields['categories_image'] = 'pixel_trans.gif'; $cPath_new = zen_get_path($categories->fields['categories_id']); // strip out 0_ from top level cats $cPath_new = str_replace('=0_', '=', $cPath_new); // $categories->fields['products_name'] = zen_get_products_name($categories->fields['products_id']); $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"', 'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe
I wasn't aware we were dealing with a module. Is it Categories Dressing?
If yes, the first line you posted tells me there is switch for the blank gif:
if (!$categories->fields['categories_image']) !$categories->fields['categories_image'] = 'pixel_trans.gif';
Turn that off, remove the <br /> and you should be good to go.
Otherwise, best to wait until Glenn offers a suggestion.
It's the hide categories mod :)
I removed the break but that had no effect....and I don't know how to 'switch off' the blank gif LOL will have a dig around the admin and see if it's there somewhere
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe