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)
-   -   flexy_rectangles main_bg_1.jpg (https://forum.x-cart.com/showthread.php?t=39909)

pixelposh 05-19-2008 10:49 PM

flexy_rectangles main_bg_1.jpg
 
Hi All

I am new to X-cart and have just been using it for 2 weeks. I have bought x-cart 4.1.10 pro and also the flexy_rectangles template.

I would like some help please. I am trying to replace main_bg_1.jpg with a flash banner that I have made. I can see in the skin1_c.css file where the image is but I cant find which smarty .tpl is calling this image.

Any help would be greatly apprectiated to help find the .tpl file so i can place my code.

Thank you
Barry

pauldodman 05-19-2008 10:54 PM

Re: flexy_rectangles main_bg_1.jpg
 
Not sure myself - but if that image is in the head section of the template - then it is in skin1/head.tpl
However, if you use Webmaster Mode from admin, this will answer this and all of your forthcoming questions of which template to edit.
If you are still not sure, post, or send me a link to your site and I'll tell you for sure.

pixelposh 05-19-2008 11:07 PM

Re: flexy_rectangles main_bg_1.jpg
 
Hi Paul

Thanks for your quick reply.

I had a look in the head.tpl file but still could not find the location to whats calling the image.

the css class is

.MainImageBackground {
BACKGROUND-COLOR: #BFBFBF;
BACKGROUND-REPEAT: no-repeat;
BACKGROUND-IMAGE: url(images/custom/main_bg_1.jpg);
HEIGHT: 100%;
}

a link to the demo template is here

www.pixelposh.com/xcart

i want to replace the picture if the skier.

Thanks for your help

pauldodman 05-19-2008 11:37 PM

Re: flexy_rectangles main_bg_1.jpg
 
Right - no that's not in the head template then - it's in something below that, but I'm not familiar with that template I'm afraid. It could be skin1/home/main/welcome.tpl, but it looks to be above that too.
So it could be in skin1/customer/home.tpl
If you use Webmaster mode, you will find the template very quickly.
You need to search for the class itself class="MainImageBackground" - possibly on a <table> tag or a table cell <td> tag.

pixelposh 05-20-2008 12:18 AM

Re: flexy_rectangles main_bg_1.jpg
 
Thanks Paul, I will go through those and update the forum ;)

pixelposh 05-20-2008 03:04 AM

Re: flexy_rectangles main_bg_1.jpg
 
HI Paul

You were correct. it was in the

skin1/customer/home.tpl

thanks for your help.

;)


All times are GMT -8. The time now is 09:31 AM.

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