![]() |
Adding graphic below sidebox on category page
I have a left sidebar on my category pages and my product pages. It currently has 3 boxes: Categories, Company Info and Best Sellers
I have been reading about sideboxes but can't find a solution. I basically want to add a static graphic below these boxes on my category pages and my product pages. I tried messing with the menu_dialog.tpl file but when I added my image as a new <div class="box"> it didn't work. Anyone know what file I need to edit to add my graphic? |
Re: Adding graphic below sidebox on category page
you need to add it to home.tpl in the left sidebar section, then put a conditional if statement around it so that it only shows only show on the pages you want.
probably this would work. {if $cat ne ''}<div><img src="{$ImagesDir}/yourimage.jpg" alt="" />{/if} |
Re: Adding graphic below sidebox on category page
... and you need to close the div before the closing {/if}; also is always better to have width and height for the image
{if $cat ne ''}<div><img src="{$ImagesDir}/yourimage.jpg" width="xxx" height="xxx" alt="" /></div>{/if} |
All times are GMT -8. The time now is 05:11 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.