X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Image as menu header instead of color (https://forum.x-cart.com/showthread.php?t=5160)

enge919 11-09-2003 07:34 AM

Image as menu header instead of color
 
I have been working all morning and cant seen to figure out how to change the top menu box in the menu.tpl to display an image rather than just a color as stated in the css file

Code:

.VertMenuTitle {
        BACKGROUND-COLOR: #000000;
                              COLOR: #ffffff; FONT: bold 10px;
}


I want to get rid of the backgroung color and make it an image. Any suggestions would greatly help...Thanks

adpboss 11-09-2003 08:39 AM

You need to edit the particular menu item tpl.

In the table cell that contains the menu name, you can add a background image and let the name display on top or incorporate the menu name text into the image.

Does this make sense to you?

If not, post the code for one of your meny tpls here and I will attempt to show you how to change the code.

FYI, you can always save a webpage you like to your hard drive and then open it up (text) and compare the code to what you have. It should be come obvious.

Kanyon71 11-09-2003 08:46 AM

Under the skin1 directory you will see menu.tpl go inside there and add you image tag to it and you will now see the background image. Mine looks like this now.

Code:

<TD  class=VertMenuBox background="{$ImagesDir}/tab2.gif" height=26>{$link_begin}[img]{$ImagesDir}/{$dingbats}[/img]{$link_end}</TD>

Hope this is what your looking for.


All times are GMT -8. The time now is 11:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.