Main menu block narrow

Main menu block narrow

by Konu Ullah -
Number of replies: 1

We have a problem with our theme.  The left sideblock does not expand fully on accessing the site unless explorer is set to open fully on screen before hand.  Also as you can see that the side block is narrow by expanding the web page this does not allow the sideblock to expand either automatically
How can i allow it too fully expand or set it a fixed width.
Thanks.

Attachment ezone_site1.JPG
Average of ratings: -
In reply to Konu Ullah

Re: Main menu block narrow

by Greg Lyon -
If you don't mind setting a fixed width you can add something like the following to your theme's layout css file...

#left-column {
  width: 15em;
}

If your theme inherits from other themes then this value was set in one of those other themes.  By putting the value in your css file it'll override the default.  For what it's worth, my theme is copied from formal_white.  formal_white inherits from the standard theme.  So, anything I DONT set in my css files will be set by the standard theme.  Oh, and the standard theme sets #left-column {width:11.5em;}, so 15em will allow a bit more width.

Making it so it auto-expands is quite a bit more difficult especially if you want it to work the same way with different browsers...perhalps somone else will comment on that possibility!

I should also mention that there are some great tools out there to help you troubleshoot css, particularly if you use Firefox...Aardvark is great to figure out what css elements may be affecting areas of your screen, and Firebug gives you all the information you could want about those elements once discovered.  Get Arrdvark at http://karmatics.com/aardvark/ and Firebug at  https://addons.mozilla.org/firefox/1843/