Linda Capellini Linda Capellini - 1 year ago 60
Javascript Question

position fixed header not working on my website

This my website ,Added fixed position header css


It's not working on my website, How solve this problem. I search across stackoverflow, no solve.

Answer Source

Try this: .site-header{z-index:110;position:fixed;top:0px;left:0px;width:100%;} You need to add the px and a top value.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download