Menu behind Youtube video

Home Forums Legacy Support Support queries Styling issues Menu behind Youtube video

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #230815
    mderooij
    Spectator
    When I play a youtube video first and then want to use the menu bar, the menu is behind the Youtube video. How to solve this? https://www.derooijfotografie.nl/
    #230921
    Veronica
    Moderator
    hi, use this code add this code in appearance>>customize>>custom css nav.menu-main-menu-container ul.sub-menu {
       z-index: 999;
    }
    let me know the result
    #231187
    mderooij
    Spectator
    I tried it in my dev. website, but it didn't work. Maybe good to know: I use the RAW HTML block to embed the Youtube video, because that speeds up the load time (compared to the Youtube block of WP Bakery)
    #231263
    Veronica
    Moderator
    provide the admin credentials in private reply, I will try it at your end.
    #231322
    mderooij
    Spectator
    This reply has been marked as private.
    #231409
    logan
    Member

    Hello,

    try this code, add this code in wp-admin >> appearance >> customize >> custom css.

    nav.menu-main-menu-container ul.sub-menu {
       z-index: 99999 !important;
    }

    #231415
    mderooij
    Spectator
    Thanks, that did the trick
    #231473
    Diana
    Participant
    @mderooij Thanks for confirming. Now, closing the ticket
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Menu behind Youtube video’ is closed to new replies.