Reply To: Horizontal post info in full-width

#21945
braincake
Participant

I already found out how to do it.
I changed this if (every one):

if( ($(window).width() > 960) || ($(document).width() > 960) ) {
    // Viewport is greater than tablet: portrait
} else {
   $('#content .hentry').each(function() {
	pinboard_move_elements($(this));
   });
}

To always execute the move elements function.
I commented it out so I can change it back when I want, but the result is this:

$('#content .hentry').each(function() {
      pinboard_move_elements($(this));
 });

The thing is that posts without featured photo look nice now, but the ones with photo don’t. :/
Is there a way to do this conditionally?

  • This reply was modified 9 years ago by braincake.