Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Created August 30, 2013 20:30
Show Gist options
  • Save claudiosanches/6393979 to your computer and use it in GitHub Desktop.
Save claudiosanches/6393979 to your computer and use it in GitHub Desktop.
WordPress - Video Shortcode responsive
jQuery(document).ready(function($) {
// Responsive wp_video_shortcode().
$(".wp-video-shortcode")
.css("max-width", "100%")
.parent("div")
.css("width", "auto");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment