fast77 Posted May 3, 2010 Share Posted May 3, 2010 Hi, i just wondered how can i change my oscommerce site from fixed to expand it to fill the page. which pages do i need to mod. thanks br Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2010 Share Posted May 3, 2010 Usually, with a fresh install of oscommerce, the site would by default fill the window. If you've modified it to a specific width, you would simply need to undo whatever you did. Often, the width would be controlled in catalog/stylesheet.css if you've added it at some point. #CONTAINER { width: 900; margin: auto; border: 1px solid #000000; background: #ffffff; text-align:center; } You could simply remove the line the I have shown above in bold text. You may or may not have that in your stylesheet.css. It would not be there by default. Link to comment Share on other sites More sharing options...
fast77 Posted May 3, 2010 Author Share Posted May 3, 2010 Usually, with a fresh install of oscommerce, the site would by default fill the window. If you've modified it to a specific width, you would simply need to undo whatever you did. Often, the width would be controlled in catalog/stylesheet.css if you've added it at some point. #CONTAINER { width: 900; margin: auto; border: 1px solid #000000; background: #ffffff; text-align:center; } You could simply remove the line the I have shown above in bold text. You may or may not have that in your stylesheet.css. It would not be there by default. hi, the hole lines you wrote are not in my .css , nckcodes.co.uk my site is if can check it out would help thanks. br Link to comment Share on other sites More sharing options...
♥joli1811 Posted May 4, 2010 Share Posted May 4, 2010 hi, the hole lines you wrote are not in my .css , nckcodes.co.uk my site is if can check it out would help thanks. br Hi, Your width is being controlled in includes/header.php. Beginning with these lines <table cellpadding="0" cellspacing="0" border="0" width="766" align="center" height="101"> The 766px appears several times(this is the width of your site it is a modified header which you would first have to very likely rebuild including new (modified grapics) to get the same look/feel of the site. Changing the 766px to 100% will give you an idea of what work is involved remember to back up your original header before any tests!! John To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
fast77 Posted May 4, 2010 Author Share Posted May 4, 2010 Hi, Your width is being controlled in includes/header.php. Beginning with these lines <table cellpadding="0" cellspacing="0" border="0" width="766" align="center" height="101"> The 766px appears several times(this is the width of your site it is a modified header which you would first have to very likely rebuild including new (modified grapics) to get the same look/feel of the site. Changing the 766px to 100% will give you an idea of what work is involved remember to back up your original header before any tests!! John Thanks that s helped in only making header bigger but the and and footer remains same with any idea? thanks again Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2010 Share Posted May 4, 2010 Looks like you are using a template. You are going to have a lot of work to change you width. The templates design was based on the width you currently have. You are going to have to change the header and everything inside, the footer and everything inside and your new products module to try and and make it all match up. Make sure you back up your files before tackling this. Link to comment Share on other sites More sharing options...
fast77 Posted May 4, 2010 Author Share Posted May 4, 2010 Looks like you are using a template. You are going to have a lot of work to change you width. The templates design was based on the width you currently have. You are going to have to change the header and everything inside, the footer and everything inside and your new products module to try and and make it all match up. Make sure you back up your files before tackling this. ok thanks i ll give it a go :). br Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.