Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to re-size shop


Recommended Posts

One of the contrib that I installed was "center shop", it sized and centred my shop. I think it was part of the Basic Design pack. My shop is centred all right but the contribution does not work anymore when it comes to size.

Where do I set the total size of the shop? I would liek it to strecht more and the columns to be a bit wider too.

 

Should I fix the center shop contrib and how?

or should I manually fix the shop and collumn ship and where?

 

Thank you for your thoughts!

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

One of the contrib that I installed was "center shop", it sized and centred my shop. I think it was part of the Basic Design pack. My shop is centred all right but the contribution does not work anymore when it comes to size.

Where do I set the total size of the shop? I would liek it to strecht more and the columns to be a bit wider too.

 

Should I fix the center shop contrib and how?

or should I manually fix the shop and collumn ship and where?

 

Thank you for your thoughts!

You can change your box size in includes/application_top.php

Your site size could be changed by finding the first ltable in each of your catalog/root files, change 100% to your desired px size. In index.php you would change it twice. Once on the first table you find at the top after </head> and <body> tags, the second near the bottom where it has a comment about show the defualt page.

Follow the community build:

BS3 to osCommerce Responsive from the Get Go!

Check out the new construction:

Admin Gone to Total BS!

Link to comment
Share on other sites

OK, change 100% to desired size in the tables of all root documents. Thank you!

 

Theres no "central" approach?

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

There is an east solution to this that everyone seems to miss:

 

At the very start of header.php add:

 

<div id="content">

 

then at the very bottom of footer.php add:

 

</div>

 

the add to your css:

 

#content {

width: 900; margin: auto;

border: 1px solid #999999;

}

 

To center add to the content css:

 

text-align:center;

 

 

Hope that helps :thumbsup:

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Great help, that way I can keep it all central in the css file!

Thats is apparently exactly what the writer of "center shop" did.

In my header.php I found all the neccessary values!

Thank you!

Edited by NewBudda

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...