functions.php

function bootstrap_dropdown() {
  $output="<style>@media (min-width: 1200px) { ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }}</style>";
  echo $output;
}
add_action('wp_head','bootstrap_dropdown');