Link to home
Create AccountLog in
Avatar of Luís 𝐂𝐥𝐚𝐫𝐚 𝐅𝐞𝐫𝐧𝐚𝐧𝐝𝐞𝐬, MBA
Luís 𝐂𝐥𝐚𝐫𝐚 𝐅𝐞𝐫𝐧𝐚𝐧𝐝𝐞𝐬, MBA

asked on

How to manage div depth

Hello,

In my site http://www.kuduro.tv, i have a trouble with the footer widgets. In fact, the widgets are showed under youtube player or soundcloud. Someone knows how to show the widgets upon. I mean, someone could explain me how to manage div depth?

Thankyou.
ASKER CERTIFIED SOLUTION
Avatar of jonahzona
jonahzona
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
This effectively will keep the footer ABOVE all content in the page, even when scrolling. (I did some testing and it worked).

The highest z-index is 999. I gave this to the footer. This was totally arbitrary, but I gave it the highest so nothing could be above it.

With the #new-videos i gave it a z-index of 998, though it could have been anything below 999.

(Obviously the higher z-index will be on top, while the lower will be beneath)

SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Luís 𝐂𝐥𝐚𝐫𝐚 𝐅𝐞𝐫𝐧𝐚𝐧𝐝𝐞𝐬, MBA
Luís 𝐂𝐥𝐚𝐫𝐚 𝐅𝐞𝐫𝐧𝐚𝐧𝐝𝐞𝐬, MBA

ASKER

Thankyou for your answer, i wasn't sure about z-index and understood it now. In my case, I still have a problem because I can't manage the div z-index on the youtube player or the soundcloud, do you know some way to do it?
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Thankyou so much, i finally used  z-index:10000;

Like the menu, and it seems to work.

Let me know if it's not a good way.