Portfolio Page Thumbs not showing up right?

Homepage Community Forums Legacy Theme Support Portfolio Page Thumbs not showing up right?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6747
    lindebjerg
    Customer

      I have just updated this site to newest version, but the Thumbs sorts not right in both Chrome and Mozilla?
      http://hardthaus.de/fotos/
      I have resized all Thumbnails but still http://hardthaus.de/wp-content/uploads/2013/08/screenshot-mozilla.png

      #6752
      Eric
      Customer

        This is an issue with this code in the portfolio file –

        // 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_entry_footer', 'portfolio_after_post' );
        function portfolio_after_post() {
            global $loop_counter;
            
            if ( $loop_counter == 3 ) {
                $loop_counter = -1;
                echo '<div class="clear"></div>';
            }
        }

        It used to work in Genesis 1.9 and earlier versions, but it’s not working with Genesis 2.0 because something was changed. I’ve asked Wes about this and he has it on the to do list. This was just one of the issues….the other issue was the content at the top of the portfolio file stopped working due to unknown changes in Genesis 1.9, but Wes hired someone to fix it.

        So the only thing I can think of to temporarily fix this issue is to add a min-height to the “.content .portfolio” code in your css. In your case I think around 500px min-height should fix it.

        In case you’re wondering, the code above actually adds a clear: both after every 4th post which automatically sets the 5th post at the beginning of the line. That would prevent the 5th post from trying to float left and start in an undesired location as it can be seen from your example. Does that make sense?

        So until there’s an official fix, I’d add the min-height for now.


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #6754
        lindebjerg
        Customer

          Perfect;
          min-height: 500px!important;

          looks fine for now:)

          Best regards
          Jesper

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Portfolio Page Thumbs not showing up right?’ is closed to new replies.