![]() |
Changing menu catagories
How do you change the menu catagories to images instead of txt
Thanks |
To the category images or other images?
|
sorry the menu have images not txt
|
Yes, but WHAT images do you want to show in the menu? The category images that you upload via admin, or other images?
|
well the images can be uploaded to the image folder in skin1 then pulled on my site l want the text say "Epson ink cartridges" put on a plain button.
Thanks |
You could just use CSS to put a background image behind the existing menu text...will be a lot easier. Have a look at the way button.tpl is set up.
|
will this put a background behind all the text
|
No, you can get a default image behind each of the pieces of text, like a blank button.
|
sorry to be thick but l cant make head nor tail of this
{* $Id: button.tpl,v 1.16.2.1 2004/11/01 07:33:15 max Exp $ *} {if $config.Adaptives.platform eq 'MacPPC' && $config.Adaptives.browser eq 'NN'}{assign var="js_to_href" value="Y"}{/if} {if $type eq 'input'}{assign var="img_type" value='INPUT type="image"'}{else}{assign var="img_type" value='IMG'}{/if} {assign var="js_link" value=$href|regex_replace:"/^\s*javascript\s*:/Si":""} {if $js_link eq $href}{assign var="js_link" value="javascript: self.location='`$href`'"} {else}{assign var="js_link" value=$href}{if $js_to_href ne 'Y'}{assign var="onclick" value=$href}{assign var="href" value="javascript: void(0);"}{/if}{/if} {if $style eq 'button' && ($config.Adaptives.platform ne 'MacPPC' || $config.Adaptives.browser ne 'NN')} <TABLE border="0" cellspacing="0" cellpadding="0" onclick="{$js_link}" style="cursor: pointer;" valign="middle"{if $title ne ''} title="{$title}"{/if}> <TR><TD><{$img_type} src="{$ImagesDir}/but1.gif" width="7" height="14" border="0"{if $title ne ''} title="{$title}"{/if}></TD> <TD class="Button" valign="middle" nowrap><FONT class="Button">{$button_title}</FONT></TD> <TD>[img]{$ImagesDir}/but2.gif[/img]</TD></TR> </TABLE> {else} <FONT class="FormButton">{$button_title} <{$img_type} {include file="buttons/go_image.tpl" full_url='Y'}></FONT> {/if} |
I would be very interested in seeing how this is done also. It seems like such an obvious thing but as i'm learning fast - nothing in x-cart is obvious!
|
All times are GMT -8. The time now is 02:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.