Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS needing help with my banner not staying in front of my main content? Re: needing help with my banner not staying in front of my main content?

#120224
chrisburton
Participant

The banner should have a smaller z-index than anything else on the page if you want to be behind your content.

position: fixed;
opacity: .5; /* .5 = 50%, .51 = 51%, .75 = 75%, etc. */
z-index: -1;