Skip to content

Instantly share code, notes, and snippets.

@devinmcinnis
Last active December 18, 2015 16:19
Show Gist options
  • Save devinmcinnis/5810834 to your computer and use it in GitHub Desktop.
Save devinmcinnis/5810834 to your computer and use it in GitHub Desktop.
Use respond.js in Wordpress
  • Use respond.js
  • Place respond.js after stylesheets
  • Put all @keyframes statements outside of the media queries

// Problems with running script

  • Hardcode stylesheet instead of enqueue'ing through WP: <link rel="stylesheet" href="/wp-content/themes/[theme]/library/css/style.css">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment