| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
header/footer background images | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
header/footer background images
Hey,
Adding a header and footer to my x-cart site. Initially I just added basic tables to the rectangle_bottom.tpl and rectangle_top.tpl files, dumped the images into the tables and it worked fine. But I now want to set them as background images so i can over-lay menus, text etc. after messing about with various table attributes I got as close as i could with tables using this: Code:
but I can't get it quite right and i want to use CSS. So I tried this: in the table Code:
in the CSS Code:
but the image isn't even appearing. can anybody see where I might be going wrong?
__________________
Linux X-Cart 4.1.11 |
|||||||
#2
|
|||||||
|
|||||||
Re: header/footer background images
Did you add the image to skin1/images? Because that is where the images/ directory is if you are calling it from the CSS file.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: header/footer background images
I did. The image is there. It reallys seems like it should be working, but it's not.
Should I be able to call the class from the rectangle_bottom.tpl file? like, in the process of the .tpl file being embedded could the link to the skin1.css be broken?
__________________
Linux X-Cart 4.1.11 |
|||||||
#4
|
|||||||
|
|||||||
Re: header/footer background images
It should work fine. Try just the background image part to start:
background: url(images/footer.jpg);
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Re: header/footer background images
yeah, its not taking. here's exactly what i have.
this table in rectangle_bottom.tpl: Code:
and i've added this to my CSS: Code:
footer.jpg is sitting in my skin1/images folder. this all looks fine, but i am not seeing the image.
__________________
Linux X-Cart 4.1.11 |
|||||||
#6
|
|||||||
|
|||||||
Re: header/footer background images
Put some content IN the table cell so that it has some room to show the image
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
Re: header/footer background images
have it sorted!!!
silly syntax error. thanks!!!
__________________
Linux X-Cart 4.1.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|