Quote:
Originally Posted by crazyoval
Here's what I think is being said, if you dont mind confirming that would be really
Add a class to each of your chosen Smarty templates e.g.;
<div class="catbackground"> background: url(images/image.jpg);</div>
|
in your css file you define:
Code:
.catbackground { background: url(images/image.jpg); }
what balinor meant by "code here", is the actual code within the category box section
ie (dont use the bottom code unless it matches minus the div tag):
Code:
{capture name=menu}
<div class="catbackground">
{if $active_modules.Fancy_Categories ne ""}
{include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"}
{else}
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
<FONT class="CategoriesList"><A href="home.php?cat={$categories[cat_num].categoryid}" class="VertMenuItems">{$categories[cat_num].category}</A></FONT><BR>
{/section}
{else} {section name=cat_num loop=$subcategories}
<FONT class="CategoriesList"><A href="home.php?cat={$subcategories[cat_num].categoryid}" class="VertMenuItems">{$subcategories[cat_num].category}</A></FONT><BR>
{/section}
{/if}
{/if}
</div>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }