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

Replace top_image.jpg with gif

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-08-2010, 02:02 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Replace top_image.jpg with gif

I'd like to replace my /skin1/images/custom/top_image.jpg with an animated gif and I can't figure out which tpl it's assigned it.

Yes I've used the Webmaster Mode.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #2  
Old 05-08-2010, 02:36 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Replace top_image.jpg with gif

Have you used firebug to see if its a background-image and actually in the css?
If not, it's probably in /skin1/customer/head.tpl
__________________
- Shane Munroe
Reply With Quote
  #3  
Old 05-08-2010, 03:01 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Replace top_image.jpg with gif

Quote:
Originally Posted by Tal
Have you used firebug to see if its a background-image and actually in the css?
If not, it's probably in /skin1/customer/head.tpl

I'm unfamiliar with firebug.

However I've check the main.css and I don't see it.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #4  
Old 05-09-2010, 01:03 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Replace top_image.jpg with gif

PS. Firebug is nasty!!! Just installed...Thanks for the tip!

http://getfirebug.com/
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #5  
Old 05-11-2010, 07:39 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Replace top_image.jpg with gif

Tal, unfortunately Firebug did not get me any closer to figuring out where the file is called from.

Mostly because I don't understand firebug all to well, but hey.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #6  
Old 05-11-2010, 09:31 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Replace top_image.jpg with gif

HA! I found that little sucker.

It's in the skin1\altskin.css file

Code:
#header .line1 .logo { background: url(images/custom/top_image.jpg) no-repeat right top; height: 192px; position: relative; padding-top: 0px; margin-left: 0px; width: auto; }

I put my bannerdogs.gif in the skin1/images/custom/ folder change the top_image.jpg to bannerdogs.gif and tada!!!

I would also think that if you had a Flash File you could modify the head.tpl file and insert it in here somewhere.
Code:
{* $Id: head.tpl,v 1.20 2009/06/05 11:46:27 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <div class="line1"> <script src="{$SkinDir}/hr.js" type="text/javascript"></script> <div class="logo"> <div class="logo1"> <a onclick="javascript: $('#hr_menu').hide();" href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/custom/company_logo.gif" alt="" /></a> <div class="logo2"><img src="{$ImagesDir}/spacer.gif" alt="" /></div> </div> </div>
__________________
X-Cart 4.3
Joomla
Among other things
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 11:47 PM.

   

 
X-Cart forums © 2001-2020