WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Gallery Shortcode Style to Head

Moves the gallery shortcode styles to the head so it doesn't break XHTML validation; allows disabling or modifying the default gallery styles.

How do I make the WP galleries XHTML compliant?

  1. Just activate the plugin. Nothing else is required.

How do I adjust the default gallery CSS styles?

  1. In WP admin, go to Settings > Media.
  2. Scroll down to "Modify gallery CSS style.'"
  3. Adjust to your liking!
  4. Click "Save Changes."

How do I disable the CSS styles (so I can control the CSS in my template)?

  1. In WP admin, go to Settings > Media.
  2. Scroll down to "Disable gallery CSS in 'head.'"
  3. Check the box.
  4. Click "Save Changes."

How do I reset the gallery CSS styles to default?

  1. In WP admin, go to Settings > Media.
  2. Un-check the setting for "Disable gallery CSS in 'head'."
  3. Clear everything in the "Modify gallery CSS style" text field (so it's totally empty).
  4. Click "Save Changes." The styles will be reset to default.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-3-9
Downloads: 7,131

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,3,3
100,1,1
50,2,1
0,1,0