Problem Sticky Header CSS

Good afternoon,

I wanted to make the top header of a template that I'm making stay fixed. I have no problem doing that since I used it.

.header {
position: fixed;
width: 100%;
top: 0px;

The problem is that the content below is now under the header. Then I use

.container {
margin-top: 20px;

The problem is that in responsive you can see blank margins between the header and the container. The container is an image with a title. A hero.

Animated shrinking header image issue (codepen)

I have a codepen of an animated header here:"]

The idea is that as you scroll content, the header shrinks out of the way - great for tablets.

But as you can see, the image shrinks to it's own centre, whereas the ideal situation would be for it to shrink to top left to keep the whole header in some sort of perspective - any ideas?

How to put an image behind navigation bar

Hi there,

I am trying to put an image behind the navigation bar. Just like this website:
So the idea is to create a full width body top and the lower part of the website needs to be blank just like the website above.

This is my website:

I tried to change something in style.css but I actualy do not know what to change or what to do...

Does anyone know the steps to be taken to make this work?
Thank you so much for helping.

I've got WordPress 3.5.1. and I am using the theme Twenty Twelve.

Extend/Freeze Header CSS

I am trying to extend my header to cover the full page (width) and I want it look like this one
I also want it freeze the heading. I have been trying everything for hours now. any help would be highly appreciated.


Wordpress banner alignment help

hi guyz
i want some help as i m designing the WordPress theme form my office i am facing problem as
the main page contain huge header that covers all the screen the problem i m facing is that i am unable to make the header align Center plz help
it will display differently on different screen resolutions
plz suggest me what to do
this is the url of my site:

and this is the original company url
i m converting this site to wordpress plz help me

Syndicate content