davejones Posted May 17, 2004 Share Posted May 17, 2004 (edited) hi i have been using oscommerce for about a week with the STS contribution now and i got the colours and parts of the css sheet done. i have a light problem, how can i change the footer alignment to centre. also how can i adjust the bottom text so that it reads: Powered by osCommerce ? Copyright ? 2003 osCommerce Edited May 17, 2004 by The_Bear Quote Link to comment Share on other sites More sharing options...
azziman Posted May 17, 2004 Share Posted May 17, 2004 id like to know how to do this coz mine is stuck on the left. Quote Link to comment Share on other sites More sharing options...
davejones Posted May 17, 2004 Author Share Posted May 17, 2004 would it matter if i am using the sts - Simple Template System contribution? Quote Link to comment Share on other sites More sharing options...
safoo Posted May 17, 2004 Share Posted May 17, 2004 The footer information is located in catalog/includes/footer.php. The footer is 'included' in every page of catalog side of osc. Quote Link to comment Share on other sites More sharing options...
davejones Posted May 17, 2004 Author Share Posted May 17, 2004 what im saying is that the text moves to the left of the screen but i want for it to move to the centre. i think my url will help a bit more: http://www.thepccentre.com/catalog Quote Link to comment Share on other sites More sharing options...
safoo Posted May 17, 2004 Share Posted May 17, 2004 The text "Copyright ? 2003 osCommerce Powered by osCommerce" is located in footer.php so take a look there and you should be able to center it unless it is a problem being caused by STS. Quote Link to comment Share on other sites More sharing options...
davejones Posted May 17, 2004 Author Share Posted May 17, 2004 1. if it is sts would should i do 2. what do i type in the footer.php for it to align up - its the last few lines where this is written in the english.php Quote Link to comment Share on other sites More sharing options...
safoo Posted May 17, 2004 Share Posted May 17, 2004 (edited) Dave, Did you look at the file? Find where it displays the text you want to align, which should be "echo FOOTER_TEXT_BODY". There is a bunch of comments around this code. Find the <td> just above and make sure there is align="center" inside the <td>. So something like <td align="center" class = something> <?php /* copyright information */ echo FOOTER_TEXT_BODY ?> The exact code may be different than what I posted but it should be similar. I don't mean to sound rude, but you should be able to figure that out just by looking at the other code in that file. Also, search on google for some html help sites that can help you in working on your site. Remember, with osc you need be patient and show some independence in trying to figure things out. And always use the search feature before posting. Also, since I see you are still customizing your site, take a look at the Wiki Docs, which explains a lot of things you might be interested in doing to your site: http://wiki.oscommerce.com/docs If you still have problems, then feel free to post or PM me. Edited May 17, 2004 by safoo Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 18, 2004 Share Posted May 18, 2004 what im saying is that the text moves to the left of the screen but i want for it to move to the centre. i think my url will help a bit more: http://www.thepccentre.com/catalog I don't have STS installed but did use it at one time. IIRC, you include the footer with something like $footer. To center it, try placing $footer in a table and set the tables alignment to center. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
azziman Posted May 18, 2004 Share Posted May 18, 2004 thanx for the replies Jack_mcs and Safoo . it turned out that he added it in the css sheet to left and not center. small problem = big headache ;) lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.