WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP Photo Album Plus] Album doesn't float

[Resolved] [Plugin: WP Photo Album Plus] Album doesn't float

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you change line #1669 of the file wp-photo-album-plus/wppa-functions.php from:

    elseif ($wppa['align'] == 'center') $result .= 'display: block; margin-left: auto; margin-right: auto;';

    to:

    elseif ($wppa['align'] == 'center') $result .= 'display: inline-block; margin-left: auto; margin-right: auto;';

    your problem is fixed.

    (display: block becomes display: inline-block).

    It is required that you have the %%align=center%% as you have now. The <center></center> tag around the wppa+ invocation look redundant to me.
    I wil incorporate this fix in the next version, so you need not to patch it again when you update the plugin.

    opajaap, this works like a charm. Thank you so much for the patch.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP Photo Album Plus] Album doesn't float’ is closed to new replies.