How to Change the Width of the Navigation Columns
A quick way to change the default look of your osCommerce store is to change the width of the navigation columns that sit to the left and right of your main content. Here’s how to do it.
The Basics
Open catalog/includes/application_top.php. Search for the following code, near line 59:
The default column width is 125 pixels. Change this to a new width, e.g. 180.
Save and close the file.
Open your store in a browser, refresh the page, and marvel at your new layout.
Digging Deeper
Every page in your store includes the application_top.php file with the following piece of code:
-
require(‘includes/application_top.php’);
That’s why changing the BOX_WIDTH value in this one file affects all the pages in your site.
Enjoyed reading this post? Get more delivered directly to you.
Responses
Reply