Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Background image not displaying

Background image not displaying

Locked

Views: 1,450

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Jun 2008, 4:43 PM
#1
rwj avatar

rwj

New Zenner

Join Date:
Jan 2008
Posts:
12
Plugin Contributions:
0

Background image not displaying

Background images through CSS not displaying on GoDaddy server (works fine on localhost). URL is
https://www.creativepetfurniture.com/zencart/index.php - CSS file located at
zencart/includes/templates/creative/css/stylesheet.css. CSS is:
background-image:url(../images/texbg); - also tried to access through absolute address - background-image:url(../http://www.creativepetfurniture.com/zencart/images/texbg.jpg). Also, renamed admin and includes .htaccess files. I know the CSS file is being read as I've changed the background color to red and the page formatting ic correct. Product images display with no problems. Zen newbie.

2 Jun 2008, 4:56 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Background image not displaying

Your image is in the wrong place for what you have in your css file

http://www.creativepetfurniture.com/zencart/images/texbg.jpg

VS

url(../images/texbg)

The above looks in
includes/templates/creative/images/

Try uploading your image to that location

And consider moving away from GD - As this is not a good place to operate a business -

OK to share pics with family but not for eCommerce

2 Jun 2008, 6:03 PM
#3
rwj avatar

rwj

New Zenner

Join Date:
Jan 2008
Posts:
12
Plugin Contributions:
0

Re: Background image not displaying

Thanks. After additional review I located the problem -- These image names started with a capital letter and the CSS names started with a lower case letter. Sometimes we just can't see the forest for the trees.

2 Jun 2008, 6:09 PM
#4
rwj avatar

rwj

New Zenner

Join Date:
Jan 2008
Posts:
12
Plugin Contributions:
0

Re: Background image not displaying

Also, looking to move site to another host, have seen many problems with gd from other users especially with shipping and payment modules-- previously done business with HostGator any thoughts -- suggestions for a Zen host?

2 Jun 2008, 6:18 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Background image not displaying

See the hosting link at the top of this page. Any other recommendations, please make them by PM. Thanks.