Hello,

I am busy working on a zen-subtheme. I would like to create a horizontal header of about 150 px height and 100% (all over the entire page) width. It is comparable with this website for instance, because the header (image / color) doesn't affect the white bodybackground.

I used to be able to do this in the old version of zen, but things have become a bit more difficult. In which .css do I have to add the proper code (I was thinking about pages.css) and what code do I have to add? I used to add the code in the theme.css in the body.

Thanks for your help!
Dirk

Comments

dirk negen’s picture

Status: Active » Fixed

I solved it by. In lay-out fixed.css I put the following in the body:

body {
padding: 10px; margin: 10px;
background-image: url(../images/banner.gif); background-position: left top; background-repeat: repeat-x;

background-color: white;
}

This means that the header can still be changed to whatever color/image you like, but it remains restricted to the content width.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.