kingles Posted December 28, 2004 Share Posted December 28, 2004 Hello, I am a beginner as far as working with oscommerce but I have been able to search this site and others to find the answers to my questions in my quest to redesign my website. However, I have one last task I wish to complete to which I am unable to find an answer. Currently, the background on my website is gold and the color of the header and footer bars are red with white text. I would like to change the color of the background under the last footer bar, which contains the # of visitors and the date, to black. Therefore, the color of the background in the middle and the rest of the page would be gold and the color at the bottom of the page (underneath the # of visitors footer bar) would be black. Is there anyway to do this? Thanks, Kevin Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2004 Share Posted December 29, 2004 Hi Kevin, if you use CSS you must modify "stylesheet.css". Find there tags TR.footer { and TD.footer { and change background values to background: #000000; That's all. -ppajukos- Link to comment Share on other sites More sharing options...
kingles Posted December 29, 2004 Author Share Posted December 29, 2004 ppajukos, Thank you for your reply. I may not have very clearly explained what I wish to accomplish. If so, I apologize. Your suggestion simply changes the footer that contains the number of visitors and the date to the color of black. It does not change the color of the area below this footer to the color of black like I wish to do. Do you know how to do that? Thanks, Kevin Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2004 Share Posted December 29, 2004 Ok, now I understand... (I read your question incorrectly) :blush: Two little things needed: Modify "stylesheet.css", add there TABLE.black_bg { BACKGROUND: #000000 } Modify catalog/includes/footer.php: 1. Find tag <td align="center" class="smallText"> (just before "The following copyright..."). There should be lines <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> 2. Remove <br> tag and change table tag to <TABLE class=black_bg cellSpacing=0 cellPadding=0 width="100%" height="60" border=0> . 3. Go few code lines down and remove another <br> tag just after <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> If you don't set height of the table this snippet won't work. -ppajukos- Link to comment Share on other sites More sharing options...
kingles Posted December 30, 2004 Author Share Posted December 30, 2004 ppajukos, Thank you very much. That worked exactly as you stated. It would have taken me a long time to figure that one out. Thanks again! Kevin Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2004 Share Posted December 30, 2004 http://www.oscommerce.info/kb/osCommerce/C...n_and_Layout/54 will help you hack the osCommerce Stylesheet. :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.