Yes, nice graphics!
PM reply posted so it can be useful to others trying to do the same thing:
"...Is there anyway now that I have the image centered properly that I can change the text from "new products for..." to what i want it to be?"
That's where the Developers Toolkit (in admin > Tools) comes in.
All output text is defined in language files, to make it possible to switch languages quickly.
Paste a distinctive snippet of the text you want to change in the lower left box, select all files and search. Among the results will be the file and line number where the text is defined.
Change the 'New Products for' to 'Your Desired Text', keeping the single quotes.
If you want to eliminate the month, you need to edit /includes/modules/your_template/products_new.php (copy it from /includes/modules/products_new.php). In this section at the bottom of the file:
PHP Code:
if ($new_products->RecordCount() > 0) {
if (isset($new_products_category_id) && $new_products_category_id != 0) {
$category_title = zen_get_categories_name((int)$new_products_category_id);
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</h2>';
} else {
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . '</h2>';
}
$zc_show_new_products = true;
}
}
?>
comment out the
, strftime('%B')
to get:
PHP Code:
if ($new_products->RecordCount() > 0) {
if (isset($new_products_category_id) && $new_products_category_id != 0) {
$category_title = zen_get_categories_name((int)$new_products_category_id);
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS /*, strftime('%B')*/) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</h2>';
} else {
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS /*, strftime('%B')*/) . '</h2>';
}
$zc_show_new_products = true;
}
}
?>
You can do the same with
. ($category_title != '' ? ' - ' . $category_title : '' )
if you don't want to show the category name.