| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Background image | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() In our current stir at www.ross-co.co.uk/shop we have an image of a speaker set as the background. How do I go about setting this image as the background in X-Cart?
Thanks
__________________
How loud do you want it? X-Cart Gold 4.0.12 & 17 |
|||||||
#2
|
|||||||
|
|||||||
![]() Assign a class to the cell that you want the image to appear in. Most likely this will be in customer/home.tpl, the cell for the central space. So your <td> tag would look like this <td class="speaker">.
Now go into skin1.css and add this: Code:
Upload the image to the skin1/images folder. That will set the background image to be centered in the cell and non-repeating. Hope this helps!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the quick response.
As yet I still cant get the image to display. Is there any particular place in customer/home.tpl that I should be placing the text <td class="speaker"> Thanks again and please excuse my stupidity
__________________
How loud do you want it? X-Cart Gold 4.0.12 & 17 |
|||||||
#4
|
|||||||
|
|||||||
![]() Ok. I got it to display but it shifts the product display down the page quite a bit. Also the background image is slightly cropped.
http://www.ross-co.co.uk/xcart/home.php Check it out
__________________
How loud do you want it? X-Cart Gold 4.0.12 & 17 |
|||||||
#5
|
|||||||
|
|||||||
![]() Sorry, I guess I wasn't clear. Don't ADD that <td> tag, replace the one that is there just below the note.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Cheers
With your assistance and a website of CSS I got it done, Thanks again Just one more question. Is there a way to stop the head from scrolling, ie keep the company logo and speed bar fixed?
__________________
How loud do you want it? X-Cart Gold 4.0.12 & 17 |
|||||||
#7
|
|||||||
|
|||||||
![]() Glad I could help.
You could keep the 'head' from scrolling by using frames, but I highly discourage it. Not only will it be a bear to implement, but it is considered an outdated method of coding, and frankly I don't even know if X-cart would work in a frame. Best to stick with what works ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() I really want to keep away from frames anyway. Our current shop uses it and SEO is a nightmare with it.
Thanks again
__________________
How loud do you want it? X-Cart Gold 4.0.12 & 17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|