Title: Z-index issue
Last modified: August 19, 2016

---

# Z-index issue

 *  [ThorHammer](https://wordpress.org/support/users/thorhammer/)
 * (@thorhammer)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/z-index-issue/)
 * Hi, I am working on a new theme. I use a big background image for it all. Then,
   in the header, I use a background image spanning the entire theme width, the 
   image is clickable for “home”.
    In the right corner of this image, I want to 
   have a 468 ad rotating space. But, the ads get **behind** the background logo
   image… I have tried to z-index the ads `<div>` up, but it doesn’t work. it’s 
   still behind.. So right now I am a bit stuck. Any advice?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [carolineh](https://wordpress.org/support/users/carolineh/)
 * (@carolineh)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/z-index-issue/#post-1334966)
 * Hey, I had this trouble a while back, and from what I remember I added this code
   into the object tag, assuming your object is flash,
 * `<param name="wmode" value="transparent">`
 * Give it a try, it seemed to work for me, but let me know how you get on.
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/z-index-issue/#post-1334969)
 * Any z-index element must be postioned. Good explanation of z-index: [Overlapping And Z Index – css-discuss](http://css-discuss.incutio.com/?page=OverlappingAndZIndex).
 *  Thread Starter [ThorHammer](https://wordpress.org/support/users/thorhammer/)
 * (@thorhammer)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/z-index-issue/#post-1335018)
 * Hello both!
    Thanks for your replies! I solved the issue after adjusting the 
   overflow and z-index in the style; i.e, I gave the banner div a z-value of 10,
   and the background image a value of 1.
 * The banner inherited the position in relation to the relative wrapper surrounding
   both of them. Then it worked like a charm!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Z-index issue’ is closed to new replies.

## Tags

 * [positioning](https://wordpress.org/support/topic-tag/positioning/)
 * [Z-index](https://wordpress.org/support/topic-tag/z-index/)

 * 3 replies
 * 3 participants
 * Last reply from: [ThorHammer](https://wordpress.org/support/users/thorhammer/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/z-index-issue/#post-1335018)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
