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 |
All times are GMT -8. The time now is 12:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.