etangins
etangins

Reputation: 624

Fixed Header Being Overlapped

I have a fixed header which is I want on the very top of the webpage in terms of stacking. I gave it a really high z-index but it is still being overlapped by other content. How can I get it to overlap all other content. My website is here

Upvotes: 0

Views: 64

Answers (3)

Ishan Jain
Ishan Jain

Reputation: 8171

First of all remove px from your z-index property.

And your image also have same z-index value(i.e. z-index:1000;).

Upvotes: 0

witherwind
witherwind

Reputation: 472

z-index property shouldn't have px as value. Change it to z-index:1000; instead.

The images (with round numbers in it) also have z-index:1000. You should decrease it so that layering will be effective.

Upvotes: 2

user3473227
user3473227

Reputation:

You should remove the "px" from your z-index value. Like this:

z-index:1000;

Upvotes: 1

Related Questions