Changeme Drupal Theme - Fixed Width

Joined: 05/13/2008
User offline. Last seen 9 weeks 2 days ago.

What would be the easiest way to convert Rob's changeme Drupal theme from liquid to fixed? I'd like to retain the header background/border across the top of the screen, kind of like the Geeks and God website, but without a picture.

Joined: 10/18/2008
User offline. Last seen 5 days 4 hours ago.
You can change the body

You can change the body width:

body{
  width:990px;
}

/ * Begin Signature */
It's a strange thing about determined seekers-after-wisdom that, no matter where they happen to be, they'll always seek that wisdom which is a long way off. Wisdom is one of the few things that looks bigger the further away it is.

Joined: 05/13/2008
User offline. Last seen 9 weeks 2 days ago.
K

How do you retain the header background across the entire width of the page?

Joined: 10/18/2008
User offline. Last seen 5 days 4 hours ago.
Oh, then create a new css

Oh, then create a new css entry for the content-region:

#content-region {
  width:990px;
}

/ * Begin Signature */
It's a strange thing about determined seekers-after-wisdom that, no matter where they happen to be, they'll always seek that wisdom which is a long way off. Wisdom is one of the few things that looks bigger the further away it is.

Joined: 05/13/2008
User offline. Last seen 9 weeks 2 days ago.
Thanks!

Thanks man!

G&G Podcast Host
Rob Feature's picture
Joined: 06/01/2006
User offline. Last seen 3 days 16 hours ago.
Gotta go outside the wrapper

I don't remember exactly how I built changeme, but it's probably exactly like my other themes, which means there's a wrapper enclosing ALL the content (anything after the body tag). This means to get an image background across the entire page it has to be outside the container or else it will be limited to the container width.

You can do this 2 ways:

  1. Set your css background on the body...that's always full width
  2. Add a NEW div that is outside the wrapper (it should start right after the body open tag and end right before the body close tag). Then put your CSS background on that. Then it will span the page width.

Hope one of those works for you!

-Rob Feature
Geeks and God Co-Host
www.mustardseedmedia.com