738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

I purchased Dany’s theme Mediapress for a personal site, and he’s not providing support during the holidays, but I’d like to get this problem tackled today so I can work on the site further.

The slider is the Nivo slider I believe. Here is my site http://www.xblagames.com/

Before posting this I tried messing around with the z-index values for the related CSS segments, but I couldn’t seem to get the drop down in front of the slider.

342 posts
  • Bought between 1 and 9 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
  • United States
reidknorr says

Hey Jar,

Cool site, try this once and see if it will work.

For the #main-nav-wrapper change the z-index to 100.

For the #slider .nivo-controlNav change the z-index to 99.

738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

I haven’t tried that yet, but when the slider transitions the dropdown goes behind that too. Will try that now for the nav portion of the slider.

738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

I love you reidknorr. :D Thanks man works perfectly now.

1182 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
campolar says

I love you reidknorr. :D Thanks man works perfectly now.

Just remember z-index the next time something like this happens to you. z-index is like the stack index. Higher number = the top most.

Also remember z-index only works on positioned elements (like position: relative)

2952 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Elite Author
  • Exclusive Author
+5 more
DDStudios says

Also remember that for example, you have the container #header, and the container #content.

If you #header is relative and has z-index inferior (less than) the #content z-index, no matter what z-index you put for the elements inside the #content, they’ll always go underneath the #content.

Just some hierarchy pointing out I wanted to make. This has caused me troubles in the past ;)

562 posts You Reap What You Saw
  • Elite Author
  • Sold between 50 000 and 100 000 dollars
  • Has been a member for 4-5 years
  • Author had a Free File of the Month
  • Exclusive Author
  • Referred between 200 and 499 users
  • Bought between 1 and 9 items
Bluz says

Also remember that for example, you have the container #header, and the container #content.

If you #header is relative and has z-index inferior (less than) the #content z-index, no matter what z-index you put for the elements inside the #content, they’ll always go underneath the #content.

Just some hierarchy pointing out I wanted to make. This has caused me troubles in the past ;)

Same, I learned this the hard way :P

342 posts
  • Bought between 1 and 9 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
  • United States
reidknorr says

I love you reidknorr. :D Thanks man works perfectly now.

Haha no problem. Best of luck with your website!

by
by
by
by
by
by