Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the width of column right and left.


TheLastWord

Recommended Posts

I know I am getting somewhere but I can't seem to find it. It order to change the width I think I need to find BOX_WIDTH. I changed it once but for some reason the width changes only when the user logs in and once they login out the width changes back to the normal size. How to I keep everything one size. Say I want both left and right to be at 200.

Link to comment
Share on other sites

You are correct. It is the BOX_WIDTH setting you need to change in includes/application_top.php. If you set it to 200, in this case, and your column displays something that is wider than that, the column will adjust to the larger size and then change back on the next page (if that page doesn't have the larger size). That is probably what's going on.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

includes/application_top.php

 

On or around line 119:

 

define('BOX_WIDTH', 150); // how wide the boxes should be in pixels (default: 125)

 

Set the 150 to whatever you want.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Thanks for all the help works great. I think I know what the problem is but just can't find where I changed the width of the right side. I deleted something and place the actually width I wanted. Now I want to change it back to BOX_WIDTH. I think its on the index.php that I did the change.

Link to comment
Share on other sites

Ignore my last message I know what I did. On the index.php file I deleted the BOX_WIDTH and entered numbers for width and I didn't upload the new file. Just one more question is it a good way to upload files using Internet Explored ftp. All I do is drag and drop seems easy but I'm a little worry its too easy.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...