Zen Cart Logo
Forums / Customization from the Admin / Column Width and Sidebox Width not working

Column Width and Sidebox Width not working

Locked

Views: 3,131

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
7 Jan 2010, 9:34 PM
#1
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Column Width and Sidebox Width not working

I have just found that for some reason or another the width settings for the Left Column and Sideboxes is not obeying.

The column width is set in Admin to be 180px while the sideboxes are set to be 170px, however when I use Firebug to figure out why things aren't changing, I can see that both of these have a width of 170px.

Is there any reason the Admin settings aren't being obeyed? I do not have a width specified in the stylesheet.

EDIT: It appears that only the Column Width - Left Boxes setting is being obeyed, and not the Column Width - Left settings. So all sideboxes and column width are the same, because it's obeying only 1 setting, and that is not what I need.

7 Jan 2010, 10:13 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Column Width and Sidebox Width not working

Which template is installed..URL of your site is?

7 Jan 2010, 10:50 PM
#3
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Column Width and Sidebox Width not working

Oh sheesh, site is HERE.

I did not use a template. I created my own based off of the default template.

7 Jan 2010, 11:01 PM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Column Width and Sidebox Width not working

I did not use a template. I created my own based off of the default template.
What happens when you switch to Classic template...does site display correctly then...if it does, then problem is with your own creation..

8 Jan 2010, 6:17 AM
#5
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Column Width and Sidebox Width not working

Problem is still there when I switch to the Classic Template..

8 Jan 2010, 6:37 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Column Width and Sidebox Width not working

Especially on main page, resize graphic images....way to large...

8 Jan 2010, 7:22 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Column Width and Sidebox Width not working

I think you have your settings switched around - Web Developer says that both the sideboxes and #navColumnOne are 180px wide, yet #navColumnOne has a style = width: 170px setting and #navColumnOneWrapper has a style = width: 180px setting.

8 Jan 2010, 8:56 AM
#8
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Column Width and Sidebox Width not working

Misty - The only graphics that are large are the promo images and they cannot be compressed more without losing quality.

gjh42 - Yes the settings are switched around right now as that is the only way I could get it to display semi-correctly. If I switch them the other way around nothing happens. This is what I cannot figure out.

I think you have your settings switched around - Web Developer says that both the sideboxes and #navColumnOne are 180px wide, yet #navColumnOne has a style = width: 170px setting and #navColumnOneWrapper has a style = width: 180px setting.

Nothing is hardcoded in the stylsheet, or otherwise. I checked the php file and it has the php echo statement in there to echo the width in admin. I even added an !important to see if it'd force it. It didn't. I don't know why Web Developer would say one thing, when the admin settings are different. It doesn't seem to matter how I change the admin settings for width :shocking:

Admin Settings:

Column Width - Left Boxes 180px
Column Width - Right Boxes 170px

Column Width - Left 170px
Column Width - Right 180px

The widths for the Right Boxes and Column would be the settings I had for the Left when I posted this thread..

Thank you everyone for trying to help me with this!:smile:

P.S. I switched the setting so you can peek at things again.

8 Jan 2010, 9:13 AM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Column Width and Sidebox Width not working

Parse error: syntax error, unexpected T_STRING in /home2/eclectj1/public_html/shop/includes/languages/english/meta_tags.php on line 17

8 Jan 2010, 9:28 AM
#10
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Column Width and Sidebox Width not working

Oops. Fixed. :D

8 Jan 2010, 4:30 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Column Width and Sidebox Width not working

Your homepage image is 780px wide, and .centerColumn has 0.8em (approximately 8px) padding. So it takes a minimum of 796px for the center column (actually 798px), while #mainWrapper is set to 970px. This leaves 172px for #navColumnOne (actual display 171px).

8 Jan 2010, 5:22 PM
#12
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Column Width and Sidebox Width not working

Oh my gosh! I guess that's the one bad thing about Web Developer. I use it to find out the width, but it does not account for padding.

Thank you so much for figuring this out. I was driving myself crazy. :D