Pinboard: gaps in video only format posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • #15897
    vetsonline
    Participant

    I’m using the Pinboard theme to host some multi-author blogs for the veterinary profession at http://blogs.vetsonline.com and, so far, I’m pretty pleased with them in general.

    The front page looks good (set to display latest posts with no slider), and I’ve created individual “browse by author” streams, which also generally look good.

    However, one of my “author” pages is dedicated to video posts – http://blogs.vetsonline.com/author/vetsonline/ – and rather than sitting snugly alongside each other like on the other pages, posts created using the video format are presented with huge empty gaps above and below them.

    This only happens on the “video only” page. When they’re part of the latest posts section in the homepage, they sit perfectly among the other standard format posts.

    Is this a bug, or is there something I can do to rectify this myself?

    Thanks in advance,

    Nigel Woodbine

    #15941
    Daniel Tara
    Keymaster

    It’s a bug but I’m not sure it can be fixed. The Masonry script requires the content boxes to be generated so it can properly align them. For featured images it relies on the imagesLoaded() function but for videos there is no such function.

    #15959
    vetsonline
    Participant

    Thanks, Daniel. That’s a shame. Maybe I’ll have to use a screenshots from the videos as the featured image and publish it in “Standard” rather than “Video” format.

    Interestingly, I just tried this with just one of my videos (The most recently posted one) and the entire section suddenly aligned itself correctly. I even changed the date and moved it about into an earlier position and the alignment remained (only to fall apart again when I reset it to “video” format).

    Maybe I’ll just have to add a non-video featured image every now and again to ensure alignment…

    #15963
    Daniel Tara
    Keymaster

    It depends on the number of videos that are loaded. The more, the longer it takes for the page to load. By the time all videos have loaded the masonry script has most probably already executed.

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

You must be logged in to reply to this topic.