Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Using images for menu titles

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-29-2008, 03:03 AM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default Using images for menu titles

I have a site where I want to use images for the titles in the menus.

Using Webmaster tools I have found the files for each of the menus (below), but cannot see where the headings are in these files. Can someone point me in the right direction for which files to use?

Would also be handy to know how to place an image at the bottom of the menus (can be the same image across all of them) and have a background image repeat-y.

CATEGORIES √ customer/categories.tpl
BESTSELLERS √ modules/Bestsellers/menu_bestsellers.tpl
MANUFACTURERS √ modules/Manufacturers/menu_manufacturers.tpl
SPECIAL √ customer/special.tpl
HELP √ help.tpl
YOUR CART √ customer/menu_cart.tpl
AUTHENTICATION √ auth.tpl

Thanks.
__________________
Version 4.1.6 to 4.1.11
Reply With Quote
  #2  
Old 06-29-2008, 03:48 AM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default Re: Using images for menu titles

After looking at the menu.tpl file, I'm going to take a mildly educated stab here and say it can't be done in those files above and that what I have to do is to remove the headings from the menu.tpl file altogether and code them in by hand in the customer/home.tpl file.

<td class="VertMenuLeftColumn">
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
<<<<<IMAGE CODE TO BE INSERTED HERE>>>>>>
{include file="customer/categories.tpl" }
<br />
{/if}

Is that how it's done? (I'd have a play now, but I just had the thought and it's way past my bedtime - thought someone may know if I'm on the right track).

Still wouldn't mind knowing where to add an image to the bottom of the menus, and I'm sure I can find the css for the background image with no trouble.

Thanks
Jo
__________________
Version 4.1.6 to 4.1.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:12 AM.

   

 
X-Cart forums © 2001-2020