Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jimmy Symmonds

    (@jimmy-symmonds)

    Inspecting elements in Chrome – the space seems filled with this:

    <p>			<span class="ZP_API_USER_ID" style="display: none;">1614902</span><br>
    			<span class="ZP_ITEM_KEY" style="display: none;"></span><br>
    			<span class="ZP_COLLECTION_ID" style="display: none;">PHKBTPUZ</span><br>
    			<span class="ZP_TAG_ID" style="display: none;"></span><br>
    			<span class="ZP_AUTHOR" style="display: none;"></span><br>
    			<span class="ZP_YEAR" style="display: none;"></span><br>
    			<span class="ZP_DATATYPE" style="display: none;">items</span><br>
    			<span class="ZP_INCLUSIVE" style="display: none;">1</span><br>
    			<span class="ZP_STYLE" style="display: none;"></span><br>
    			<span class="ZP_LIMIT" style="display: none;"></span><br>
    			<span class="ZP_SORTBY" style="display: none;">year</span><br>
    			<span class="ZP_ORDER" style="display: none;">DESC</span><br>
    			<span class="ZP_TITLE" style="display: none;">1</span><br>
    			<span class="ZP_SHOWIMAGE" style="display: none;"></span><br>
    			<span class="ZP_SHOWTAGS" style="display: none;"></span><br>
    			<span class="ZP_DOWNLOADABLE" style="display: none;"></span><br>
    			<span class="ZP_NOTES" style="display: none;"></span><br>
    			<span class="ZP_ABSTRACT" style="display: none;">1</span><br>
    			<span class="ZP_CITEABLE" style="display: none;"></span><br>
    			<span class="ZP_TARGET" style="display: none;">1</span><br>
    			<span class="ZP_FORCENUM" style="display: none;"></span><br>
    			<span class="ZOTPRESS_PLUGIN_URL" style="display:none;">http://happybynature.co.za/wp-content/plugins/zotpress/</span></p>

    Thread Starter Jimmy Symmonds

    (@jimmy-symmonds)

    using the following also removes whitespace but the abstract too

    .zp-Zotpress-Bib p {
    display: none;
    }

    Plugin Author Katie

    (@kseaborn)

    Ideally there should not be extra empty paragraph tags added. I don’t know why there are for some people. The hidden span elements don’t contribute to the spaces (they aren’t displayed so they don’t impact the front-end display).

    You could also try something like:

    .zp-Zotpress-Bib p {
    margin: 0;
    padding: 0;
    }

    And then re-add margins to the abstracts (can’t remember the class name exactly, so modify to fit):

    .zp-Zotpress-Bib p.zp-Abstract {
    margin: 1em 0;
    }

    Thread Starter Jimmy Symmonds

    (@jimmy-symmonds)

    This seems to work

    .zp-Zotpress-Bib p {
        line-height: 0;
    }

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Large gap before Bib continued’ is closed to new replies.