This is a discussion on Why do my columns appear to change width? within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; Hello Forum, I hope someone is able to help me with this, it's a reproducable issue but I don't know ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello Forum, I hope someone is able to help me with this, it's a reproducable issue but I don't know where the cause is. Please follow these few steps: [1] Go to: ShopLaLaLand.com : Welcome to LaLa Land - Stationery and Invitations! and take note of the thin pink strip to the immediate left and right of the main window in the center of the screen. [2] Then, click on CHECKOUT on the top menu bar and observe what happens to the one on the right. See how it got wider? If you click on CATALOG again, it will get narrow again. It only seems to trigger when the site goes to a secure page, then sometimes it goes away when the visitor goes to a non-secure page, sometimes not. Any ideas where to find/fix this problem? I'm open to suggestions and I appreciate the help. Regards, Lobo |
|
#2
| ||||
| ||||
| I think your box width is set to the more narrow width, but the login box is slightly wider due to the fields in the box. When the login box goes away, it lets the column revert to its correct width. Just make the column/boxes slightly wider in application_top.php: Code: // customization for the design layout
define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Michael, Thank you for your reply. In application_top.php, the setting you identified in the code was already at 130px. I've spent hours looking through the code, doing a comparison between the two pages that I described above. I have a hunch the problems occurs shortly after the [ <!-- content //--> ] appears in the code. Rather than the columns doing this, I think the center window is pushing the right column over. If someone knows how to read this code, it would be helpful if they could take a look at the initial table definitions as the center window is defined right after the content section starts. Thanks, John |
|
#4
| ||||
| ||||
| That is probably it. I bet it is the title bar. Delete the image from it and see if that fixes it.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| Michael, I deleted all of the images that affect width. (two top images, one body image, and one bottom image). When I click back and forth between [CHECKOUT] and [CART CONTENTS], I can see it screw-up and then fix, but I can't figure out why. Here's a good question: Is there a different file called when the page is https versus http? Apparently, the answer is yes. Does anyone have an idea where I could find the code affecting this issue? NOTES: [1] I have left the images deleted so this can be seen. [2] The images key in my site are 780 and the ones in AABox are 750. I must have made all but one of the required changes to accommodate the extra 30 pixels. I appreciate the attention today, this has to be an easy one. (hopefully). Regards, Lobo |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change number of columns inside category listing | shirster | osCMax v2 Customization/Mods | 1 | 05-17-2006 02:45 AM |
| Change the content width all to the end. | Squirrel | osCommerce 2.2 Modification Help | 8 | 04-18-2005 04:39 AM |
| Change column_left width | adam71o | osCMax v1.7 Installation | 11 | 04-12-2005 06:51 AM |
| controlling text width in right/left columns. | lhotch | osCMax v1.7 Discussion | 3 | 09-29-2004 01:38 PM |
| New Products page - change listing from rows to columns | discoo | osCommerce 2.2 Modification Help | 0 | 09-16-2003 09:16 AM |