Closed (fixed)
Project:
Zen
Version:
6.x-1.1
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
3 Feb 2010 at 11:49 UTC
Updated:
23 Aug 2013 at 20:28 UTC
Hello,
Im a newbee when it comes to drupal theming,
Im starting with the Zen theme as it was recomended to me.
Can someone please explain to me how I can stretch the header and footer to 100% and leave the rest of the content centered.
Thnx Mark
Comments
Comment #1
cathyF commentedHi!
I have the same problem with a zen theme that has already been configured by someone else.
The header is already stretched full width and what I need is to have a footer also full width that displays below sidebars.
I tried to put the footer in a div and separate it from the rest of the content in the page.tpl.php but it didn't change anything.
Then I don't know what to put in the CSS file.
I'm no programmer and would appreciate some help.
Thanks
Cathy
Comment #2
chris_car commentedI would need the same, having a header and footer stretched to 100%. I am using a fixed layout with zen 6.x-1.1
Thanks, any help is very appreciated !
Chris
Comment #3
akalata commentedEdit your layout.css file as follows:
line 25 of layout-fixed.css, change the width of
#pageto be 100%line 120 of layout-fixed.css, set the width of
#mainto be fixed, and center it by usingmargin: 0 autoComment #5
pl050 commentedIt might be useful to add a line defining the min-width of the page to handle small browser window environments: