• Hello,
    I posted this under another post by mistake…
    I am quite new to wordpress and no coder at all, but I tried to use the code from a previous post by jiinlaw and adapt it to my needs.
    I have a list of posts by just one category and it all kinda worked except for 2 problems:
    1) thumbnails don’t tile properly in the page
    2) the nav shortcode results in a misplacement of the navigation elements

    Note that 1) happens irrespective of nav being in the code or not.

    my page is: https://genmic.unipv.it/linee-di-ricerca-wp-list/

    and the plugin code for the list is

    [posts]
    <div class=”postItem”>
    [post_thumbnail size=’thumbnail’]
    <h6>[title]</h6>
    </div>
    [/posts]
    [nav type=”plain” ajax=”1″ prev_text=”Precedente” next_text=”Successivo”]

    The CSS Style bit is

    #w4pl-list-[listid] .postItem{
    float: left;
    margin:0 1% 30px;
    }
    @media screen and ( min-width: 480px ) {
    #w4pl-list-[listid] .postItem{width:30%;}
    }
    @media screen and ( max-width: 480px ) {
    #w4pl-list-[listid] .postItem{width:98%;}
    }
    #w4pl-list-[listid] .postItem img {
    float: left;
    margin: 0 0px 15px;
    }

    I tried for quite a long time but cant fix it.

    Any help is appreciated ;-P

    thanks

    https://www.ads-software.com/plugins/w4-post-list/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lucaf57

    (@lucaf57)

    really no one can help me? I am already there …. but need a bit of help with Style parameters i guess…

    thanks

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Add one more style –

    #w4pl-list-[listid] .postItem:nth-child(3n+1) {
        clear: left;
    }
    
    Thread Starter lucaf57

    (@lucaf57)

    Thanks a lot, that fixed the tiling of thumbnails!

    The navigation issue is still there though… Navigation numbers and text are misplaced and appear either above the last thumbnails of the second row or split between first row (numbers) and second row (text).

    https://genmic.unipv.it/w4pl/linee-di-ricerca/

    I tried to place the nav shortcode on top of the template but that did not help.

    Thanks in advance for any hint again.

    Lucaf57

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help needed to solve incorrect tiling of thumbnail posts rows’ is closed to new replies.