![]() |
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 |
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. |
Sweet!!
I beleive that'll do it. Thanks a ton balinor! |
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 |
Post a url so we can see what you are talking about.
|
|
Also if you click on a product the tree has moved down but I think I have that figured out.
|
Try removing the background-color: class in the Dialogbox style in skin1.css.
|
Thats the one.
Now all I have to do is make the images tranparent. Thanks again!! |
Strange Webmaster mode
Quote:
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 |
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 |
Quote:
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. |
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.