WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] Navbar drop down menu stack above slider? (9 posts)

  1. BMcGinley
    Member
    Posted 6 months ago #

    My dropdown menu disappears behind the slider. For example, the "She's Famous Now" dropdown shows only one menu item, with the second hidden under the slider:
    http://www.brendanmcginley.com/

    What's the best way to have it display over the slider instead of under? Adjust the Z-index? I don't want to add space above the slider as I'm pretty happy with the layout.

    I couldn't find any snippets about this. Any help is appreciated.

  2. chappie
    Member
    Posted 6 months ago #

    Hi, nice stuff you're making. It looks to me as though your menu disappears behind your main-wrapper div, not your slider. They didn't start life like that so I assume you must have changed the Z-index at some point.

  3. batharoy
    Member
    Posted 6 months ago #

    .carousel-inner {
        z-index: -1;
    }
  4. BMcGinley
    Member
    Posted 6 months ago #

    Ah, that was it! Perfect -- thank you so, so much.

    And thank you for the kind compliment.

  5. chappie
    Member
    Posted 6 months ago #

    @BMcGinley - if you go to a page with no slider, you will see that, for example, the Invisible Inc menu still drops behind the main-wrapper.

  6. Andrew
    Forum Moderator
    Posted 6 months ago #

    This helps:

    .tc-header {
     position: relative;
    }
  7. BMcGinley
    Member
    Posted 6 months ago #

    Yeah, and tinkering with it's not getting me anywhere. Still, at least it's not buried on the front page.

  8. Andrew
    Forum Moderator
    Posted 6 months ago #

    I can't see that CSS (in my last post) on your site, are you sure you added it? Or do you have a caching plugin?

  9. BMcGinley
    Member
    Posted 6 months ago #

    @Andrew Nevins --

    That worked perfectly. Thank you. You guys are the best. (Sorry, my previous reply was to @Chappie).

    If anyone wants a sketch or a free copy of DOSE, just let me know, by way of thanks for the help.

Reply

You must log in to post.

About this Theme

About this Topic