X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Logo pic tpl? (https://forum.x-cart.com/showthread.php?t=47121)

crazyoval 04-23-2009 07:22 AM

Logo pic tpl?
 
Hi guys, does anyone know which tpl file has tells x-cart to load the logo on your page? I guess it might be different depending on which skin you use but any suggestions would be helpful.

Thanks

balinor 04-23-2009 07:23 AM

Re: Logo pic tpl?
 
Webmaster mode will tell you for sure - but it is usually head.tpl

crazyoval 04-24-2009 03:36 AM

Re: Logo pic tpl?
 
Thanks Balinor. No, can't see it anywhere. No problems. I know a man who worked on it recently so he will know.

Thanks for your help anyway

balinor 04-24-2009 04:15 AM

Re: Logo pic tpl?
 
Did you try Webmaster Mode? That will definitely tell you where it is.

crazyoval 04-27-2009 05:25 AM

Re: Logo pic tpl?
 
Its in head.tpl but Ive no idea where it is in there. it is called header_bg.jpg and covers the top row of the website. So it must be referenced in a file that is referenced in head.tpl but I can't see it in anything either.

It must be there somewhere...

balinor 04-27-2009 05:28 AM

Re: Logo pic tpl?
 
That means the logo is probably embedded in the background graphic at the top. Take a look at the graphic and see.

gb2world 04-27-2009 05:30 PM

Re: Logo pic tpl?
 
You can use firebug to see if it is a background image - then you might find it in a css class - something like background-image: url(header_bg.jpg)

crazyoval 04-28-2009 06:56 AM

Re: Logo pic tpl?
 
HI balinor, the file is in skin1/images, I know which one it is and an area on the left in the artwork links to the home page, but where the code is for this is not clear. However..

gb2world, thanks for this, I will take a look, sounds like a good idea.

Thanks guys

crazyoval 04-28-2009 07:08 AM

Re: Logo pic tpl?
 
Yup, can see it there in skin1.css as:

.headerBg { background: url(images/header_bg.jpg); border-right: 5px solid #fff; border-left: 3px solid #fff; }

But where do you guys think I would find the insert code, i.e.

<img src="images/header_bg.jpg" width="800" height="200" align="middle"> or similar ?

is it a case of looking for '.headerBg' in the tpl files?

balinor 04-28-2009 07:11 AM

Re: Logo pic tpl?
 
No, you aren't understanding. It is a background image, meaning there is no 'insert' it is a CSS class. To change the logo, you need to change the background image and upload it.

crazyoval 05-05-2009 10:49 AM

Re: Logo pic tpl?
 
mmmm.. not sure I understand you Balinor. I still dont see any reference to my header_bg.jpg in any tpl file. Im looking for the html code and expected it in the home.tpl but it isnt there.

gb2world 05-05-2009 12:05 PM

Re: Logo pic tpl?
 
Look in the css file for something like background-image: url(header_bg.jpg)

crazyoval 05-07-2009 01:09 PM

Re: Logo pic tpl?
 
Thnx for your support I will get to this soon, promise!

balinor 05-07-2009 01:11 PM

Re: Logo pic tpl?
 
It is a CSS reference, meaning it is in your master css file. Use Firebug to find out exactly which class it is.

crazyoval 05-09-2009 12:59 AM

Re: Logo pic tpl?
 
Thanks Balinor, will do. APpreciate your support


All times are GMT -8. The time now is 07:12 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.