Jump to content
Sign in to follow this  
NewBudda

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

Share this post


Link to post
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!

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×