Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Change my sites layout from fixed


fast77

Recommended Posts

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

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...