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

Image as menu header instead of color

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-09-2003, 07:34 AM
  enge919's Avatar 
enge919 enge919 is offline
 

Senior Member
  
Join Date: May 2003
Posts: 141
 

Default 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
__________________
Web site design - Custom Programming - Upgrades - Marketing
www.netvisionwebdesign.com

Follow on twitter: http://twitter.com/netvisionweb
Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419
Reply With Quote
  #2  
Old 11-09-2003, 08:39 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

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.
Reply With Quote
  #3  
Old 11-09-2003, 08:46 AM
 
Kanyon71 Kanyon71 is offline
 

Senior Member
  
Join Date: Oct 2002
Location: Lutz, FL
Posts: 128
 

Default

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.
__________________
Kanyon71
http://www.web-wizards.com
For hosting solutions that fully support X-Cart!
Mention the forums for a discounted package!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:29 AM.

   

 
X-Cart forums © 2001-2020