Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 …
@cramdesign
Copy link
Author

The guys from Automattic use a different approach with inline-block instead of floats (https://github.com/Automattic/_s/blob/master/style.css#L640-L676).

@braddalton
Copy link

Genesis users could also use the built Bootstrap column classes couldn't you?

Here's another way to fix the problem http://www.studiopress.com/forums/topic/executive-pro-wordpress-native-gallery/#post-126397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment