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)
-   -   Changing Background image (https://forum.x-cart.com/showthread.php?t=11571)

campi54 01-19-2005 04:13 PM

Changing Background image
 
OK so now that I have the installation of this thing down I can direct my attention to the design.

Can anyone give me some advice on changing the background of the center table.
What I would like to accomplish is a single image in the center column no matter where I navigate to. I tried adding the tag

<TD background="{$ImagesDir}images/palm2sm.jpg" align=middle valign=top>

to the customer/home_main.tpl

all I got was the center table getting shifted over.
any insight to what I did wrong would be much appreciated.

Thanks

balinor 01-19-2005 06:18 PM

Yep, your code isn't quite right. First, you should use CSS for this instead of the depreciated 'background=' tag. Replace the td tag that controls the center of the layout area with this:

Code:

<td class="background1">

Then, open up skin1.css and add this:

Code:

.background1 {background-image: url(images/palm2sm.jpg); background-position: 50% 50%; background-repeat: no-repeat;}

That should do the trick.

campi54 01-19-2005 10:42 PM

Sweet!!
I beleive that'll do it.

Thanks a ton balinor!

campi54 01-20-2005 08:30 AM

Just saw somthing.
When I enter featured products they have a solid white background.
So I have a white bar cutting across the image.

If I'm on the right track, which line in the css would I set to transparent?

Thanks again for getting me this far.

Michael

balinor 01-20-2005 08:33 AM

Post a url so we can see what you are talking about.

campi54 01-20-2005 08:40 AM

http://www.caltape.com/caltape/home.php?cat=1

campi54 01-20-2005 08:43 AM

Also if you click on a product the tree has moved down but I think I have that figured out.

balinor 01-20-2005 08:45 AM

Try removing the background-color: class in the Dialogbox style in skin1.css.

campi54 01-20-2005 08:57 AM

Thats the one.
Now all I have to do is make the images tranparent.

Thanks again!!

Mary Jo Robins 01-21-2005 06:33 AM

Strange Webmaster mode
 
Quote:

Originally Posted by campi54
Thats the one.
Now all I have to do is make the images tranparent.

Thanks again!!


Hey Campi54,

Do you have your webmaster mode on? Every time I click you link to your web page I get webmaster debug window up?

Bob

campi54 01-21-2005 07:37 AM

I do.
The store is far from ready and I am still making changes to the look. So it is convenient to just leave the debug box checked.

thanks for looking out for me

Michael

markwhoo 01-21-2005 07:45 AM

Quote:

Originally Posted by campi54
I do.
The store is far from ready and I am still making changes to the look. So it is convenient to just leave the debug box checked.

thanks for looking out for me

Michael


To keep people from seeing your store, go to gen settings and close the store.

Then if you are wanting someone to help you, simply add a store password that can be used to allow somone to pass the closed front door to see what you need.

Then you can leave debug on all of the time until you are done.

campi54 01-21-2005 01:26 PM

I guess I worded my last post wrong. I meant out of laziness I didn't change it.

Good call. Still learning #-o

Thanks


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

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