| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Need help to add animated gif to header. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Need help to add animated gif to header.
Hi,
I just purchased xCart Gold V4.1 with the Neon Lights Houshold template. The header displays my logo, (Company_name.gif) and a picture which I believe is a background, (header_bg.jpg). I would like to add a very small animated .gif, (flag), on the far right side of the header. Can anyone tell me how I can accomplish this. Which template needs to be edited and will it be difficult to align it where I want it on the right side? I assume it would be placed in a table? Any help greatly appreciated. Thanks.
__________________
xCart Version 4.1 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Need help to add animated gif to header.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Need help to add animated gif to header.
Thanks, I'll look at it.
__________________
xCart Version 4.1 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Need help to add animated gif to header.
I looked at the guide you mentioned. The template seems to be the "head.tpl". Since I am using the Neon Household Template I have to change the "head.tpl" in the templates/custom folder. I tried changing it but it didn't work.
What I wanted is a small animated flag on a circle with a black background just before the company logo. Since the animated gif is simply a flag with a transparent background I tried placing the circle with the black background as a background image in the table cell and then inserting the animated gif into the cell. I experimented with this in Dreamweaver and it worked fine. For some reason when I try it in the head.tpl nothing is displayed at all. The original tpl code was: <tr> <td width="100%" style="padding-left: 42px;"> <a href="{$http_location}"><img src="{$ImagesDir}/custom/Company_name.gif" width="305" height="79" border="0" alt="{$config.Company.company_name}" /></a> </td> </tr> The change that I made was to simply add the following, right after the <tr> in the above code : <td width=92 background="{$ImagesDir}/custom/flag_bg.gif"><img src={"$ImagesDir}/custom/Flag1.gif" width="68 height="50"> I'm not much of a template coder but that was my attempt.
__________________
xCart Version 4.1 |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Need help to add animated gif to header.
Can anyone offer any suggestions?
__________________
xCart Version 4.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|