Support » Plugin: Drop Shadow Boxes » Effects disappear

  • Resolved kopyrite


    First of all… GREAT plugin. Love the effects.

    Worked perfect… sort of…

    I am using in a theme. I temporarily create what I want in the WordPress Editor. Then cut-n-paste the text into the COLUMNS widget (or whatever it’s called) in the theme’s PAGE OPTION section.

    Works great.

    That is, works great until I remove the temporary creation from the WordPress editor. Once removed, the rounded corners and dropshadow effects disappear, and I’m left with a single line.

    Re-paste the set in the editor, and the nice effects return.

    Not sure if this is an issue with your plugin, or the theme. Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I did a bit more investigating,and learned that when a box is created (and remains!) in the WordPress Editor, the following line is added to the source code:

    <link rel=’stylesheet’ id=’dropshadowboxes_css-css’ href=’http://[domain]/wp-content/plugins/drop-shadow-boxes/css/dropshadowboxes.css?ver=3.5.1′ type=’text/css’ media=’all’ />

    But it DOES NOT appear in the source if the code is used in any of the theme PAGE OPTIONS widgets (or whatever they are called).

    If I paste that line into one of the widgets, the nice effects show.

    Any suggestions on how I can make sure that this link CSS is included in the page? (I barely understand the surface Word Press stuff, and certainly don’t know what happens behind curtain as the page code is generated by Word Press).

    Thanks again for any suggestions…

    Adding this one line of code worked great for me. I wasted a lot of time until I found this forum post. Thanks Kopyrite!

    I’d also like to see this great plugin enhanced so that I can use it in widgets without having to add the link to the style sheet. Will I have to use it for each widget item I use? There must be an easier way.

    Otherwise great plugin. Please consider this for the next enhancement. Thanks!

    Plugin Author stevehenty


    The styles will added to the page automatically when the page/post contains a Drop Shadow Boxes shortcode or a Drop Shadow Box widget. If you don’t want to use the dedicated Drop Shadow Box widget or if you need to use the shortcode inside a different widget, first, make sure the widget allows shortcodes (this is not always the case). If you already have a Drop Shadow Box somewhere on the page/post then the styles will be loaded and it’ll look ok. If you don’t, then there’s a pretty high chance that the styles won’t be loaded. In this case, then you can either use the technique described above, or you may like to force the output of the styles by using the “inline_styles” shortcode attribute (new in version 1.4.6 in response to this feature request).
    [dropshadowbox inline_styles=”true”]your content[/dropshadowbox]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Effects disappear’ is closed to new replies.