View Single Post
  #4  
Old 08-25-2010, 02:17 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Background image on home page only!

Ok you need to get some basic css/html/smarty knowledge - it will only benefit you - if you want to be able to do things yourself with xcart.

The code you put in - take it out. First make sure skin/common_files/customer/home.tpl is the correct file to edit (home.tpl is the correct file, yes, but depending on the skin you use home.tpl could be in that skin's customer directory)

Now this will put the image at the top left corner.
Add to the <body> tag in the appropriate home.tpl

<body LEAVE WHATEVER IS ALREADY THERE AND ADD AFTER{if $main eq "catalog" && $current_category.category eq ""} style="background: transparent url(path_to_image/image_name) no-repeat left top;"{/if}>

That should work
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote