Linda Capellini Linda Capellini - 5 months ago 7x
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.


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.