Guest Posted February 22, 2007 Share Posted February 22, 2007 Im having troubles with the background of my main table, it's got no colour or anything. Im not sure where I am supposed to edit this I would like it to have a background image if possible to match the rest of my site otherwise pale cream colour.. Can someone please direct me to what part I edit..? Store can be viewed here: http://aussiedigitalscrapping.com/store/ Thanks in advance, Kirsten Link to comment Share on other sites More sharing options...
hammerstand Posted February 22, 2007 Share Posted February 22, 2007 In my version of oscommerce, the stylesheet.css has both a BODY and a .body where backgrounds can be changed. The BODY is for the main background, and the .body takes care of what I think you're talking about as far as the table you want to have some color to. In that .body, you can put in a hex# to set that background color or you can href a background image. Hope this helps. Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2007 Share Posted February 22, 2007 In my version of oscommerce, the stylesheet.css has both a BODY and a .body where backgrounds can be changed. The BODY is for the main background, and the .body takes care of what I think you're talking about as far as the table you want to have some color to. In that .body, you can put in a hex# to set that background color or you can href a background image. Hope this helps. hmmm... i can't see .body anywhere, what is it under?.... at the moment the main striped background was done by having the background info in the header.php file.. I want the centre part (760 pixels wide) which is directly under the to have a background colour or image - background-image: url('/images/dottbgs.jpg'); so it matches rest of my site if you have a lookie and see ;) Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2007 Share Posted February 22, 2007 hmmm... i can't see .body anywhere, what is it under?.... at the moment the main striped background was done by having the background info in the header.php file.. I want the centre part (760 pixels wide) which is directly under the to have a background colour or image - background-image: url('/images/dottbgs.jpg'); so it matches rest of my site if you have a lookie and see ;) ok figured it out myspelf had to change the background of main table in index.php <!-- body //--> <table border="0" width="760" cellspacing="3" cellpadding="3" align="center" background= "http://www.aussiedigitalscrapping.com/images/dottybgs.jpg"> Link to comment Share on other sites More sharing options...
hammerstand Posted February 22, 2007 Share Posted February 22, 2007 Glad to hear it and sorry couldn't be more help. Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2007 Share Posted February 22, 2007 Glad to hear it and sorry couldn't be more help. That's ok thanks for your help it's most appreciated... now i have same issue with the footer background hmmm will keep trying ;) Link to comment Share on other sites More sharing options...
Philth Posted March 1, 2007 Share Posted March 1, 2007 Your sites looking really good btw! Love the header! Link to comment Share on other sites More sharing options...
rassa Posted March 1, 2007 Share Posted March 1, 2007 not that i can help you,,but nice site,,,how did you get the stripes on the sides?And the yellow as base colour on the index? Link to comment Share on other sites More sharing options...
noelove Posted March 1, 2007 Share Posted March 1, 2007 You site design is so fresh! I love it. How did you edit the 'whats new for Month' to only show one image? I'm trying to figure that out on my own cart right now. Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2007 Share Posted March 1, 2007 not that i can help you,,but nice site,,,how did you get the stripes on the sides?And the yellow as base colour on the index? ok to get the yellow background, it's actually an image. I edited index.php this is what the code is ( my table is centred and only 760 pixels wide to line up with my header which is only 760 pixels wide also) <!-- body //--> <table border="0" width="760" cellspacing="3" cellpadding="3" align="center" background= "http://www.aussiedigitalscrapping.com/images/dottybgs.jpg"> And for the background I edited my style sheet - stylesheet.css : BODY { background: #white; background-image: url('/images/temp-bg.jpg'); hope that answers your qustions. Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2007 Share Posted March 1, 2007 You site design is so fresh! I love it. How did you edit the 'whats new for Month' to only show one image? I'm trying to figure that out on my own cart right now. HAHA well I have only added one product so far, my store isn't live yet. Im waiting to install the downloads shop module.. Cos all of my products are downloadable zip files containing graphics... just having a break to clear my mind before adding all the modules i want! This is new to me also and don't want to add to many products to the database until I get it all right!. Thanks to everyone for the kind comments it's always good to get some feedback.. :blush: Link to comment Share on other sites More sharing options...
rassa Posted March 2, 2007 Share Posted March 2, 2007 o dont know where on index to place the code..my index looks like this (languages/index) define('TEXT_MAIN', '<b>Välkommen till Rassa Hästsport</b><BR><BR>Sidan är under uppbyggnad så registrera dig inte eller dyl'); define('TABLE_HEADING_NEW_PRODUCTS', 'Nya produkter för %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Kommande produkter'); define('TABLE_HEADING_DATE_EXPECTED', 'Förväntad leveransdatum'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Produkter.'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Modell'); define('TABLE_HEADING_PRODUCTS', 'Produktnamn'); define('TABLE_HEADING_MANUFACTURER', 'Tillverkare'); define('TABLE_HEADING_QUANTITY', 'Antal'); define('TABLE_HEADING_PRICE', 'Pris'); define('TABLE_HEADING_WEIGHT', 'Vikt'); define('TABLE_HEADING_BUY_NOW', 'Köp nu'); define('TEXT_NO_PRODUCTS', 'Det finns inga produkter att visa i denna kategori.'); define('TEXT_NO_PRODUCTS2', 'Det finns inga produkter från denna tillverkare.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Antal produkter: '); define('TEXT_SHOW', '<b>Visa:</b>'); define('TEXT_BUY', 'Köp 1 \''); define('TEXT_NOW', '\' nu'); define('TEXT_ALL_CATEGORIES', 'Alla kategorier'); define('TEXT_ALL_MANUFACTURERS', 'Alla tillverkare'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Produkter'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Kategorier'); Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2007 Share Posted March 2, 2007 o dont know where on index to place the code..my index looks like this (languages/index) define('TEXT_MAIN', '<b>Välkommen till Rassa Hästsport</b><BR><BR>Sidan är under uppbyggnad så registrera dig inte eller dyl'); define('TABLE_HEADING_NEW_PRODUCTS', 'Nya produkter för %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Kommande produkter'); define('TABLE_HEADING_DATE_EXPECTED', 'Förväntad leveransdatum'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Produkter.'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Modell'); define('TABLE_HEADING_PRODUCTS', 'Produktnamn'); define('TABLE_HEADING_MANUFACTURER', 'Tillverkare'); define('TABLE_HEADING_QUANTITY', 'Antal'); define('TABLE_HEADING_PRICE', 'Pris'); define('TABLE_HEADING_WEIGHT', 'Vikt'); define('TABLE_HEADING_BUY_NOW', 'Köp nu'); define('TEXT_NO_PRODUCTS', 'Det finns inga produkter att visa i denna kategori.'); define('TEXT_NO_PRODUCTS2', 'Det finns inga produkter från denna tillverkare.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Antal produkter: '); define('TEXT_SHOW', '<b>Visa:</b>'); define('TEXT_BUY', 'Köp 1 \''); define('TEXT_NOW', '\' nu'); define('TEXT_ALL_CATEGORIES', 'Alla kategorier'); define('TEXT_ALL_MANUFACTURERS', 'Alla tillverkare'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Produkter'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Kategorier'); index.php is in the root folder of your store. Link to comment Share on other sites More sharing options...
rassa Posted March 2, 2007 Share Posted March 2, 2007 oh sorry,,,its hard to be a noob.. ok i found where to put it,,but look here www.rassa.nu how it turned out,,the middle of the page streeeetched Link to comment Share on other sites More sharing options...
rassa Posted March 2, 2007 Share Posted March 2, 2007 i sorted it out,,thank you soo much,,ive been asking here for couple of days to do this...and love your site by the way /Diana Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.