Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fixed size of shop width


Ozguru

Recommended Posts

I have installed osc 2.2 on my local machine and have been mucking around with changing graphics and shuch and it s looking great but what i want to do is to limit the max width of the shop to 800 wide

 

would somebody please be so kind as to point me in the right direction on which file or files i need to edit to achive this goal

 

 

thanks in advance

 

 

Oz

Link to comment
Share on other sites

I have installed osc 2.2 on my local machine and have been mucking around with changing graphics and shuch and it s looking great but what i want to do is to limit the max width of the shop to 800 wide

 

would somebody please be so kind as to point me in the right direction on which file or files i need to edit to achive this goal

thanks in advance

Oz

 

My store was automatically set up to 100% for width. This means the pages fit all screen sizes. try to decrease your browser size and see if it adjusts automatically to fit the page. Personally, I think a small web page looks crap on a large screen. Thats why I left everything at 100% to keep all surfers happy.

 

Good luck

I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Link to comment
Share on other sites

I think if you want to have a small borde around your store on any size screen you would be better of going for a % rather than a defined pixel size. This way regardless of what monitor your customers are using it will all be visable.

 

To resize you store size you need to add Fixed Width With CSS

 

Very easy to install take about 5 mins

Link to comment
Share on other sites

I think if you want to have a small borde around your store on any size screen you would be better of going for a % rather than a defined pixel size. This way regardless of what monitor your customers are using it will all be visable.

 

To resize you store size you need to add Fixed Width With CSS

 

Very easy to install take about 5 mins

 

 

Thank you very much i did have a look through the contribs but obviously could not see for looking :rolleyes: :blush:

Link to comment
Share on other sites

Open up: /includes/header.php and add the following code right at the very start

of the file:

<table width="760" cellspacing="0" cellpadding="0"

align="center">

<tr>

<td class="outline">

Open up: /includes/footer.php and add the following code right at the very end

of the file:

</td>

</tr>

</table>

 

 

 

Of course the 760 is editible

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...