The issue is that the books render in their smallest size, and the plugin fires the
jQuery(window).trigger('rfbwp.resize'); when the page loads, to trigger a resize to make them fit the current window. However, this appears not to work on some browsers (at least in safari and chrome on my mac), which causes them to remain small. I discovered that when I put this line of code inside my
$(window).on('scroll') event, it perfectly resizes the books whenever I scroll. It of course also resizes whenever I actually resize the page, however, it doesn't work when I put this line of code inside my
This makes me think that the elements haven't been properly loaded yet when this event fires, which is weird, because I thought the window load event fires last.
Could this have something to do with the way WordPress builds a page, since all components come with their own scripts? Is it the case that
$(window).on('load') fires last - even in a complex WordPress page?
The respective page is live at http://cdgstyle.mixrabbit.com/lookbook/