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

Menu Title Images?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-04-2003, 04:00 PM
 
ryanf ryanf is offline
 

Member
  
Join Date: Sep 2003
Posts: 28
 

Default Menu Title Images?

*Edit - I figured it out*

Hi everyone. I just recently had a custom x-cart developed and it was installed a couple days ago. Now I'm just learning how to edit templates. So far I've done a few small things like center the cart, change width size, change background colors, etc.

What I want to do next is replace the menu titles with my own images. Instead of having a small image (dingbat) and a text version of "Services" or "Special" or "Help" etc., I would like to have one image in there that says what the title should be (no actual text). Hope that makes sense. Any idea how I can accomplish this?. Example code would be great!

Thanks,

Ryan
Reply With Quote
  #2  
Old 12-11-2003, 03:32 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default

So how did you do it?
Reply With Quote
  #3  
Old 12-12-2003, 08:26 AM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default

the menu title uses a css sheet color for the background color

The text is then held in languages > english

The only image you can change from default is the dialog bg box, the menus on the side are just regular html/css coding.

If you want to lay down a background, thats a different story.

You may want to stay away from images, search engines index text better just so you know.
Reply With Quote
  #4  
Old 12-12-2003, 12:57 PM
 
ryanf ryanf is offline
 

Member
  
Join Date: Sep 2003
Posts: 28
 

Default

It just takes some figuring out. Kinda difficult to explain. You should use webmaster mode though. Here is something to start with.

This code is in the bottom of my menu_service.tpl. The image is the title image I want to use for my services.

Code:
{ include file="menu.tpl" dingbats="services_1.jpg" menu_content=$smarty.capture.menu }

You should also set the width/height in menu.tpl.

With something like this
Code:
<TD class=VertMenuTitle height=26>{$link_begin}[img]{$ImagesDir}/{$dingbats}[/img]{$link_end}</TD>

The image is 150x20 in size.

Ryan
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 04:44 PM.

   

 
X-Cart forums © 2001-2020