Tagged: , , , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #5273

    Please take a look at


    When you click on Krav Maga in the Main Menu, this menu spreads but it is partial shown BEHIND the video.

    Of course I’d like it in front.

    How to fix?



    it’s a known problem with WordPress oembed media and not directly theme related (we use the standard oembed function). Someone posted a fix: http://www.mehigh.biz/wordpress/ (Purchase code hidden if logged out) -3-media-embeds.html which basically adds the opaque attribute to the embedded flash element.

    Place following code at the end of function.php:

    function add_video_wmode_transparent($html, $url, $attr) {
    if (strpos($html, "<embed src=" ) !== false) {
    $html = str_replace('</param><embed', '</param><param name="wmode" value="transparent"></param><embed wmode="transparent" ', $html);
    return $html;
    } else {
    return $html;
    add_filter('embed_oembed_html', 'add_video_wmode_transparent', 10, 3);


    Yes, fixed.

    Thank U.


    Glad Dude could help you out :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Mega Menu spreads behind video’ is closed to new replies.