I'm using the portfolio 2 template and using the embed option to embed a YouTube video. It works perfectly fine except for when I hover my mouse over a dropdown menu in the nav bar, the links show up BEHIND the embedded video so that it's unclickable. Is there any way to put the links up in front of the video?
Dropdown menu showing up BEHIND video
(4 posts) (3 voices)-
Posted 4 months ago #
-
I'm having this issue as well, the drop down is not clickable if there is an element in the bf featured area. I've never had this issue before until I upgraded to the latest version. I'm using the bfnav child theme
Posted 4 months ago # -
this filter fixes it:
function youtube_oembed_wmode($embed) { if (strpos($embed, 'youtube') !== false) $embed = str_replace('oembed', 'oembed&wmode=transparent" ', $embed); return $embed; } add_filter( 'embed_oembed_html', 'youtube_oembed_wmode', 1 );It will be a part of the next version, but it can be added to functions.php of the current version to fix this issue (at the bottom, before the
?>). This problem only happens when using youtube video urls (not when using their iframe embed code).Posted 4 months ago #
Reply
You must log in to post.