• Resolved ftb

    (@misomaybe)


    Hello everyone.

    I have a top dropdown menu which is growing bigger.
    I’m noticing that it’s starting to disappear behind the home page content.

    How can I change that so the top dropdown menu would always be on top rather than under it?

    Cheers!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Can you provide a link to the page with the issue? It’s probably a z-index issue.

    Thread Starter ftb

    (@misomaybe)

    Hello Herman.

    Thank you for your answer. Could I please send it to you in private?

    There is no private messaging on these forums, the functionality just isn’t there. Without the actual page I would just be shooting in the dark at a solution.

    Thread Starter ftb

    (@misomaybe)

    I just sent you an email.

    Sorry, I responded by email but probably better to respond here.

    I didn’t see the issue at first, but it actually appears with the last item (Thailand) in the Photography dropdown menu.

    As I suspsected it is a z-index issue causing the slider to appear above the dropdown in the z-space.

    What I can recommend is adding the following to your active theme css file.

    .cycloneslider {
      position: relative;
      z-index: 1;
    }
    
    ul.sub-menu {
      z-index: 99999;
    }

    and that should resolve the issue of the menu disappearing behind the slider.

    Thread Starter ftb

    (@misomaybe)

    Thanks. Sorry, do you mean in the custom CSS or under functions.php?

    Yea, I would go the custom CSS route. It’s just easier than editing php files.

    if after you enter the styles, things remain the same, try adding an !important tag.

    Example:

    .cycloneslider {
      position: relative !important;
      z-index: 1 !important;
    }
    
    ul.sub-menu {
      z-index: 99999 !important;
    }

    Thread Starter ftb

    (@misomaybe)

    Ah you’re great. It worked just fine. Thank you very much for that.
    ??

    no problem at all, I’m glad that worked out for you!

    Best of luck!
    ??

    Evan

    Thread Starter ftb

    (@misomaybe)

    !important;

    is overwriting everything else right?

    It worked without it but still good to know.

    Thread Starter ftb

    (@misomaybe)

    Cheers!

    Welcome to take a peek if you wish.

    Greetings.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How can I have my drop-down menu over my home page?’ is closed to new replies.