View Single Post
  #4  
Old 04-07-2005, 01:48 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

Hi,

I have some help and a further query on this...

Firstly, to see what you need to edit, open up the template "menu.tpl"

This will show you how your table is built up, and includes class references, e.g. VertMenuTitle for the title box, VertMenuBox for the box, etc, etc.

You then need to edit the class in your css file, to look something like this, (for the title box)
.VertMenuTitle { color: white; font-weight: bold; background-image: url({$imagesDir}/nav_top.gif); background-repeat: no-repeat;}

which you will see also removes the repeat. Advised not to put the image reference in quotes.

However, my query is:

when I use the reference as above with the $imagesDir link, it doesn't display the image, only when putting a full reference, which of course we shouldn't do in x-cart.

can anyone help me solve this please?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote