Skip to content

Instantly share code, notes, and snippets.

@Archie22is
Forked from cramdesign/gallery-style.css
Created September 18, 2016 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Archie22is/dc5aebb78bbed32ef6de2a7755fbd984 to your computer and use it in GitHub Desktop.
Save Archie22is/dc5aebb78bbed32ef6de2a7755fbd984 to your computer and use it in GitHub Desktop.
WordPress 3.9 ships with the ability to add HTML5 support for galleries which will now use figure and figcaption to display images. This is a huge change for the better! Bonus: br tag used for clearing rows has been cleaned out as well. While all of this is good news for more semantic markup, one might now be left wondering how to style the new …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment