marcel emmen Posted December 19, 2002 Posted December 19, 2002 Hi there, anyone have a idea how to set a background image for the shop iso a background color? I have try many things but nothing seems to help? I use centershop and thema thanks Marcel
toolcrazy Posted December 19, 2002 Posted December 19, 2002 We need a little more info. Which background are you talking about. The table background? or the page background? or? You are not giving us much to go on. And also which snapshot and what mods you have added. Steve -------------------------
marcel emmen Posted December 19, 2002 Author Posted December 19, 2002 I want a background for the page and as already mention in the previous message a use centershop and thema as mod Thanks Marcel
marcel emmen Posted December 19, 2002 Author Posted December 19, 2002 I found out that i have to put the background image in the cascade style file. However how must i make the path and whats the format for this in the cascade style file? is this like this; BODY { background: background.gif; color: #000000; margin: 0px; } thanks for the help marcel
kn1ght Posted December 19, 2002 Posted December 19, 2002 you could put the background image in your /webserver/html/ along with your other php files. (don't put it in /webserver/html/images/) .jpg and .gif format is supported.
Guest Posted December 19, 2002 Posted December 19, 2002 background: url(images/your_image_file.gif); Add a line like the above. Rename the image file to yours.
marcel emmen Posted December 20, 2002 Author Posted December 20, 2002 No this is not giving any result. background: url(images/background.gif); the background still is plain white Marcel
Guest Posted December 20, 2002 Posted December 20, 2002 Marcel, Please post the section of your stylesheet where you added the background image.
burt Posted December 20, 2002 Posted December 20, 2002 *Always* use an absolute URL in a css definition.
marcel emmen Posted December 20, 2002 Author Posted December 20, 2002 Here is the section; BODY { color: #000000; margin: 0px; } if i place in this section; BODY { background: url(images/background.gif); color: #000000; margin: 0px; } the background still stays white. I now have place the following line in the default.php which works with the background image. However I don't want this because I want for every thema a different background image <body background="images/background.gif" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> Marcel
Guest Posted December 20, 2002 Posted December 20, 2002 Well....having no <BODY> tag would cause the image NOT to show up. I'm not familiar with using themes so I won't be able to help...sorry.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.