NewBudda Posted May 5, 2008 Posted May 5, 2008 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! Quote Open Source Newsletter: PhPList Open Source Questionnaire: Lime Survey
♥GLWalker Posted May 5, 2008 Posted May 5, 2008 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. Quote Follow the community build: BS3 to osCommerce Responsive from the Get Go! Check out the new construction: Admin Gone to Total BS!
NewBudda Posted May 5, 2008 Author Posted May 5, 2008 OK, change 100% to desired size in the tables of all root documents. Thank you! Theres no "central" approach? Quote Open Source Newsletter: PhPList Open Source Questionnaire: Lime Survey
spooks Posted May 6, 2008 Posted May 6, 2008 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: Quote 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.
NewBudda Posted May 9, 2008 Author Posted May 9, 2008 (edited) 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 May 9, 2008 by NewBudda Quote Open Source Newsletter: PhPList Open Source Questionnaire: Lime Survey
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.