Closed (fixed)
Project:
Zen
Version:
6.x-2.0
Component:
CSS/HTML Markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2010 at 11:26 UTC
Updated:
19 Nov 2010 at 16:50 UTC
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
Comment #1
dirk negen commentedI 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.