| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding button background picture on the Categories | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi Everyone,
I am trying add a background background picture behind each categories on the side meun bar. To be exact only on for the Main Categores section On the client/customer interface. I don't need to have rollover yet, just a plan static pictture. I believe it is the edit should be some where under skin1\customer\categories.tpl I thought the code should be between these lines, but I can't seem to find where it is point to the new tpl file. Is it on a CSS file? <table cellpadding="0" cellspacing="0" {if $main eq "catalog" and $current_category.category eq ""}class="CategoriesCustomBox"{else}width="100 %"{/if}> <tr> <td valign="top"> {if $active_modules.Fancy_Categories ne ""} <table cellpadding="0" cellspacing="0" {if $main eq "catalog" and $current_category.category eq ""}class="CategoriesCustomBoxFC"{else}width="150"{ /if}> <tr> <td valign="top"> {include file="modules/Fancy_Categories/categories.tpl"} {assign var="fc_cellpadding" value="0"} </td> </tr> </table> Can someone please help me out? Hmm... Marthastewart web site is a good example. I don't need the interactive effect after you click it. Just a button look picture behind the meun. Sorry, I don't know PHP too well either. http://www.marthastewart.com/home-decorating?lnc=4f3fcafb74ece010VgnVCM1000003d370a0 aRCRD&rsc=globalnavigation_home_decorating-with-accents What I am seeing is that Xcart will first create a "table", then create a different "row" or <TD> to fill each category it has. I was trying to see if I can insert a default picture I have spend 2 days on this issue. still no luck. would really appreciate if someone can point me to the right direction. Thanks in advance Sincerely,
__________________
/X-Cart Gold v. 4.1.6/ Last edited by mahou : 01-28-2008 at 03:21 PM. Reason: upload sample picture |
|||||||
#2
|
|||||||
|
|||||||
![]() Derek, you have been asked before, but I'll ask again. In order to help you, we need you to follow the forum guidelines and post your X-Cart version in your signature. Each version of X-Cart is very different, and if you want an accurate answer, this information is essential. Thank you.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi balinor ,
thanks for reminder. I have version 4.1.6 I am hosting on a Linux system. I don't which version of Linux, as I only get the space. If you can help me or give me some guidence would be really appreciated, thanks
__________________
/X-Cart Gold v. 4.1.6/ |
|||||||
#4
|
|||||||
|
|||||||
![]() Thanks Derek. What you want to do is set a class for each row. The code above isn't that code, you are looking for something like this:
<font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></font><br /> Change the font tag to a div tag, and then you can define a background image for the CategoriesList class using this: background: url(images/imagename.jpg); Make sense?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|