It’s still missing the code that’s supposed to be added in the page_portfolio.php. You can find that in the tutorial above –
// Clear float using genesis_custom_loop() $loop_counter variable
// Outputs clearing div after every 4 posts
// $loop_counter is incremented after this function is run
add_action( 'genesis_after_post', 'portfolio_after_post' );
function portfolio_after_post() {
global $loop_counter;
if ( $loop_counter == 3 ) {
$loop_counter = -1;
echo '<div class="clear"></div>';
}
}
Once you add this in your portfolio template, then this will show up on your site – <div class="clear"></div> which will link to the css I mentioned earlier.