| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Insert Background Image Throughout Site | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Please help! I have been reading the posts for 2 weeks now, and have been unsuccessful at every attempt to insert a background jpg for my site. I can't get it to appear anywhere!
I have inserted this language into skin1.CSS but do not know how to call it or where to place the command to call it. Do I have to call it from every single template? I want it to at least appear as the background of the home page and on the splash page. BODY { MARGIN-TOP: 0 px; MARGIN-BOTTOM: 0 px; MARGIN-LEFT: 0 px; MARGIN-RIGHT: 0 px; BACKGROUND-COLOR: #DFF5F2; BACKGROUND-IMAGE: skin1\bg-c.jpg } ![]() |
|||||||
#2
|
|||||||
|
|||||||
![]() You are using the wrong CSS format. The correct format for a background image is:
background: url(images/imagename.jpg)
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Like this?
BODY { MARGIN-TOP: 0 px; MARGIN-BOTTOM: 0 px; MARGIN-LEFT: 0 px; MARGIN-RIGHT: 0 px; BACKGROUND-COLOR: #DFF5F2; BACKGROUND: mytiddies.com/xcart (images/bg-c.jpg) } |
|||||||
#4
|
|||||||
|
|||||||
![]() No, exactly as I showed it:
background: url(images/bg-c.jpg)
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Wow - thanks! You are awesome!
![]() |
|||||||
#6
|
|||||||
|
|||||||
![]() Balinor,
Can I ask you one more question? We have a splash page (temporarily) until I can figure out how to get the contents to appear on the home.php page. How do I get the background to appear in the splash page in the meantime? |
|||||||
#7
|
|||||||
|
|||||||
![]() Well, it isn't going to work the same, as the splash page is a static html page. You would need to either create a new stylesheet for the splash page, or include the code for the background image right in the body tag.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|