Zen Follower
- Join Date:
- Jul 2008
- Posts:
- 495
- Plugin Contributions:
- 0
product list sub category description
Hi,
How do I make the description text follow directly after the sub category image instead of having the text below the image? I want the text to be on top with the image on the left as if the text was wrapping onto the image.
I'm thinking that just using a simple <img align="left" src...> would work. But I don't know where to modify exactly. I know it has to do with the /templates/tpl_index_product_list.php file but don't know what to modify. Here is the piece of code where the image is referenced:
<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == 'true') {
// categories_image
if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
<?php
}
} // categories_image
?>
But where do I go to add the "align="left"" portion?
Here is a link to the sub-category page. Notice the description is below the subcategory image instead of to the right of the image.
http://www.usifloral.com/index.php?main_page=index&cPath=42_144
Thank You for your help.