This would get rid of the gaps that I see...
stylesheet.css (line 527)
.categoryListBoxContents {
background-color:#767676;
margin:0;
}
but... that will not cure all the white space as you have the light background for the whole of the centercolum (inherited from #contentMainWrapper)
If you want to have a grey background just for the top part of the page, with the catagory images, you will need to edit your template to allow this...
\includes\templates\custom folder \templates\tpl_index_categories.php;
find;
PHP Code:
<!-- BOF: Display grid of available sub-categories, if any -->
<?php
if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
// do nothing
} else {
// display subcategories
/**
* require the code to display the sub-categories-grid, if any exist
*/
require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
}
?>
<!-- EOF: Display grid of available sub-categories -->
and replace with;
PHP Code:
<!-- BOF: Display grid of available sub-categories, if any -->
<div class="categoryImg">
<?php
if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
// do nothing
} else {
// display subcategories
/**
* require the code to display the sub-categories-grid, if any exist
*/
require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
}
?>
</div>
<!-- EOF: Display grid of available sub-categories -->
this will surround the category images with a DIV that is styled to have a grey background... no more white gaps...
Bookmarks