kingkahn22 Posted July 7, 2005 Posted July 7, 2005 How do I put a bg color in footer.php ??? html code didn't work...
Guest Posted July 7, 2005 Posted July 7, 2005 How do I put a bg color in footer.php ??? html code didn't work... <{POST_SNAPBACK}> Well - whjere do you want to display the colour ? You need to edit the includes/footer.php file
kingkahn22 Posted July 7, 2005 Author Posted July 7, 2005 Yes I know that, I am wanting to know the code to insert into the fotter.php I tried HTML but it didn't take.
kingkahn22 Posted July 7, 2005 Author Posted July 7, 2005 Would someone be kind enough to post the very simple piece of code, I require to make footer.php have a back ground color? It doesn't seem to work with Html code. I do not know PHP, and couldn't find a referance for this simple code bit. Thank you
jonny1968 Posted August 6, 2005 Posted August 6, 2005 Does anyone know how to change the background color of that footer area? (the area that says "Copyright 2003 oscCommerce Powered by osCommerce" What is the code and where does it go? thanks!
ian_m Posted August 6, 2005 Posted August 6, 2005 Does anyone know how to change the background color of that footer area? (the area that says "Copyright 2003 oscCommerce Powered by osCommerce" What is the code and where does it go? thanks! <{POST_SNAPBACK}> To change the footer color behind the osc bit is best done via the style sheet, 1st off give the table that holds the info a class by going to about line 22 in the footer.php <table border="0" class="footertable" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. once you have added in the bit highlighted in red above go to the stylesheet and add this .footertable{ background: #ff0000; } That it, just change the color to what you want. Regards Ian
jonny1968 Posted August 6, 2005 Posted August 6, 2005 Cool. Thanks, that worked. I did'nt realize there is another area below the footer area which remains white. Do you know how to change that area's background color? (It must be the very bottom strechable area of the page) Thanks again!
AllTheAbove Posted August 6, 2005 Posted August 6, 2005 To change the footer color behind the osc bit is best done via the style sheet, 1st off give the table that holds the info a class by going to about line 22 in the footer.php <table border="0" class="footertable" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. once you have added in the bit highlighted in red above go to the stylesheet and add this .footertable{ background: #ff0000; } That it, just change the color to what you want. Regards Ian <{POST_SNAPBACK}> Well, I followed the instructions, but apparently the background that I am using overrides the footer. I would like the footer and header to have completely different looks as opposed to the main body. Can I do this when using an image as a background? Lori
Guest Posted August 16, 2005 Posted August 16, 2005 hi, i did the following but online the line along the copyright text changes colour? i want everything underneath the bread crumb to change colour. so i have a solid background. any ideas?
lauren4521 Posted August 17, 2005 Posted August 17, 2005 any more ideas? <{POST_SNAPBACK}> Here's a link to the stylesheet definitions, it might be helpful. OSC Stylesheet Definitions I use an image in the body background and do it by setting a new class in the stylesheet, .bodybg {background-image: url(images/mdbluebg.jpg);margin: 0;padding: 0;} And added the class to teh body tag in each appropriate catalog file (basically almost everything under catalog. I did this because I was having trouble with getting netscape and moz to see the background image just using an image for background in the body section of the stylesheet. Lauren
Recommended Posts
Archived
This topic is now archived and is closed to further replies.