Is it very difficult to adjust the fixed width of the Minnelli theme? I want the center column / body a little wider, pushing the sidebars a little further out.

How is this done, what do I have to adjust? Is it one of the style.css files?

Comments

offal’s picture

Could anyone help me with this problem please?

vjordan’s picture

If you want to make such a change to minnelli try adjusting the style.css in the theme's subdirectory. But I have read Garland (on which minnelli is based) is an advanced and complex theme. The recurring recommendation (here being one place http://drupal.org/node/102424#comment-193066 ) is that you start with the zen theme if you're going to customise a theme along these lines. A fixed-width version is available. http://drupal.org/project/zen

If your hosting provider gives you cpanel watch out for this issue: http://drupal.org/node/91335

I found bluemarine a good theme to make modifications to. I also use an amended version of foliage (fixed-width based on bluemarine) on a couple of sites. Easy to modify.

offal’s picture

Thanks for helping out vjordan.

Very handy information. Unfortunately theme building is a quite a bit beyond my abilities at this stage, so I think I'll stick with existing themes. I thought adjusting the width of the middle column would have been more easy.

I was under the impression that Minnelli is a fixed width version of Garland. Is that not correct?

I'll keep learning.....theme building is some way down the track, I think. Just happy to be able to build a website with what's provided at this stage.

vjordan’s picture

using the zen theme is just like using any other theme (apart from the possible name conflict which can be resolved by changing the theme's directory name to "myzen").

The advantage Zen gives you is that code (php and css) is all well documented and making meaningful modifications is therefore a whole lot easier. Even without modifications the zen theme looks pretty good and you have a fixed-width version out of the box.

djsnapshot’s picture

I too don't want to mess around so much to create a whole new theme. I'd loved to use a two column, fix width version of minnelli, but just a little wider than it's default setting. I feel like this shouldn't be too hard to change. But everywhere I try to adjust the widths in the css file, nothing changes. Can't figure it out.

Has anyone out there figured this out?

pateld’s picture

I think I found a way to change width.

Original style.css in minnelli folder:

@import "../style.css";

body #wrapper #container {
  width: 560px;
}

body.sidebars #wrapper #container {
  width: 980px;
}

body.sidebar-left #wrapper #container,
body.sidebar-right #wrapper #container {
  width: 770px;
}

Now we need to change width. So based upon your configuration (sidebar on left or right, on both, etc), change the width as follows:

/*----*/
body.sidebar-left #wrapper #container,
body.sidebar-right #wrapper #container {
  width: 830px;
}
/*----*/

It also solves the problem while displaying table. (Login as admin, open Theme, and you will see the table overlapping)

Hope it helps.

Regards,
D

djsnapshot’s picture

Thanks D... It works!

Sorry for the slow response. I had given up for a while and not checked replies in a while.

Cheers...

J

elf_cash’s picture

Just a note that may help others, if you attempt to modify the width in this way be sure to reset the minnelli theme settings removing any color changes or other modifications you may have made. If the settings for Minnelli aren't "clean" this may not work.