Forums / Templates, Stylesheets, Page Layout / Categories Shifting to Center While Center Loads

Categories Shifting to Center While Center Loads

Locked

Views: 823

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Apr 2010, 3:50 AM
#1
justin_broadbent avatar

justin_broadbent

New Zenner

Join Date:
Apr 2010
Posts:
3
Plugin Contributions:
0

Categories Shifting to Center While Center Loads

Version: 1.3.8a
Template: Red Passion

I have been pulling my hair out trying to figure out how to pin the categories column in place so that it doesn't shift to the center while the page is loading. It only lasts a couple of seconds but it gets annoying seeing it happen with almost every page change. Is it possible to force the center column to maintain a specified width even while it is loading? Can I modify the stylesheet so that the categories are fixed to the left side of the main area? All I've managed to do so far is pin the navmainwrapper to the left side of the browser, which isn't what I want because my page is a fixed width and doesn't stretch.

Any suggestions would be greatly appreciated.

Thanks!

20 Apr 2010, 4:08 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Shifting to Center While Center Loads

This is due to #navColumnOne or #navColumnOneWrapper having a margin: auto; declaration, which makes the element center itself in whatever space is available. For a moment while loading, the left column is the only thing in the contentMainWrapper space, so it centers itself in the whole page. Change the margins to whatever fixed value you want.

21 Apr 2010, 12:05 AM
#3
justin_broadbent avatar

justin_broadbent

New Zenner

Join Date:
Apr 2010
Posts:
3
Plugin Contributions:
0

Re: Categories Shifting to Center While Center Loads

I will try that and post the results... Thanks for the great advice!!

22 Apr 2010, 2:28 AM
#4
justin_broadbent avatar

justin_broadbent

New Zenner

Join Date:
Apr 2010
Posts:
3
Plugin Contributions:
0

Re: Categories Shifting to Center While Center Loads

It worked! All I did was comment out the margin declaration for the #navColumnOneWrapper wrapper and they are staying put where I want them. Thanks again!