Support » Plugin: WP Photo Album Plus » weird gallery layout

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Unfortunately i can’t see enough on your site because you did not check wppa debugging as asked in the first sticky thread of this forum, but…

    If you have the plugin Shortcodes Ultimate installed do NOT check the (default checked) box Custom formatting. There are also other plugins that do a wpautop() after the expanson of shortcodes ( level 11 in apply_filters(‘content’); ). Disable that!!! it ruins the html created by wppa+

    Thread Starter andrewjs18

    (@andrewjs18)

    I don’t use shortcodes ultimate.

    in any regards, I enabled wppa debugging.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Your themes style.css has a funny – everything damaging (?) – line:
    #1445:

    code {
    background: none repeat scroll 0 0 #F8F8F8;
    border: 1px solid #D5D5D5;
    border-radius: 3px 3px 3px 3px;
    font: 12px ‘Courier New’,monospace;
    margin: 0 2px;
    overflow: auto;
    padding: 0 2px 2px;
    white-space: pre-wrap;
    }

    There are strange things happening, see your page source in the browser: (fragment):

    <div class="entry-content clearfix">
    <p><strong><code><code> </p>

    I suggest you try to find the mechanism that creats the <code> tags.

    If the white-space: pre-wrap; is removed in ( firefox firebug ), the layout is ok.

    Thread Starter andrewjs18

    (@andrewjs18)

    I added this to a child theme:

    code {
        white-space: normal !important;
    }

    and it seemed to fix the layout for the most part, but it’s still displaying some weird stuff on the page:
    http://i.imgur.com/LS1s0JE.jpg
    http://english-speak-english.com/gallery/

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    it’s still displaying some weird stuff

    Is outside the wppa+ container and also caused by <code> tags.

    You’d better search for the origin of the strange <code> tags and remove them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘weird gallery layout’ is closed to new replies.