WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Shadows

This is a plugin to add a range of shadow types to a range of objects. Currently supported are images, divs and blockquotes.

This is a plugin to add a range of shadow types to a range of objects. Currently supported are images, divs and blockquotes.

I got the inspiration from the cocoia blog and Sebastiaan de With was kind enough to let me use the shadow image that he applies to his images.

Browser Compatibility

I have tested this plugin in the following browsers:

  1. Internet Explorer 7 & 8
  2. Firefox 3 & 3.5
  3. Safari 4
  4. Opera 9

Internet Explorer 6 is not supported due to the use of transparent png images in ways that regular work arounds don't address. As such the plugin stops the shadows from displaying in IE6. The opacity setting is disabled for all versions of Internet Explorer due to bugs in how it renders (even IE8).

Usage

Add one of the following classes to the object:

  • shadow_curl
  • shadow_flat
  • shadow_osx
  • shadow_osx_small

For images this is as simply as adding the text to the end of the "CSS Class" under the "Advanced Settings" for the image. For divs and blockquotes you will need to use the HTML view in the editor and add class="shadow_curl" to the object.

I decided against applying the shadows to everything it could recognise as this could easily turn into a huge mess though I am open to suggestions on other ways to do it.

Known Issues

  1. If something covers the div or blockquote it can push the shadow down to below the covering object and thus separate the shadow from the object it should be attached to. Try to avoid it through the use of clear or margins.
  2. The plugin does not support divs nested inside the shadowed div or blockquotes nested inside the shadowed blockquote.

Recommendations

From Sebastiaan: "the only thing I'd suggest is adding a border to the divs, otherwise the shadow looks rather detached." I have elected not to do this automatically to allow you greater control over the appearance of your pages.

Tags:

Requires: 2.5 or higher
Compatible up to: 2.9.2
Last Updated: 2010-1-25
Downloads: 10,839

Ratings

3 stars
3.9 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,1,1
100,1,1
0,1,0 100,1,1
100,2,2
0,1,0 100,1,1 50,2,1
0,1,0
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1
100,1,1
50,2,1