Portfolio alignment issue

Homepage Community Forums Epik Theme Support Portfolio alignment issue

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #11507
    sfriend
    Customer

      Wes, I followed the directions in https://appfinite.com/topic/portfolio-problem/#post-8091

      But am still having alignment issues with the portfolio. Page through this and you’ll see: http://floridahikes.com/blog

      It may be an issue with the clear statement in the CSS. Where should I be placing it? (Which file and where in the CSS).

      Thank you for your help!

      #11515
      Wes
      Moderator

        Looks like it’s missing the code that supposed to show up from the page_portfolio.php file. Make sure and replace that code as mentioned in the tutorial and then it should show up since you already have the css added.

        #12423
        sfriend
        Customer

          Did that. No luck (although it DID work on an installation of Optimal that I’m using elsewhere).
          See http://floridahikes.com/travels
          Suggestions? Thank you.

          #12436
          Wes
          Moderator

            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.

            #12526
            sfriend
            Customer

              Did the above but still having the alignment trouble. Not sure what to do next.
              Thanks, Sandra

              #12535
              Wes
              Moderator

                Are you able to create a temporary username/password for me? I can log in and get this fixed for you…..If you can just add it here as a private message.

                #12570
                sfriend
                Customer
                  This reply has been marked as private.
                  #12580
                  Wes
                  Moderator

                    Just got it fixed 馃檪 You were supposed to add the second block of code from the tutorial – https://appfinite.com/topic/portfolio-problem/#post-8091&#8230;..when I checked your file it had the first block of code.

                    I commented out the older code and added the new code right under so you can see what I did.

                    Whenever you’re done setting everything up be sure and add it to the Showcase – https://appfinite.com/showcase-your-site

                    #12594
                    sfriend
                    Customer
                      This reply has been marked as private.
                      #12597
                      Wes
                      Moderator

                        I was going based on this link – http://floridahikes.com/travels Check that one out and let me know how it looks. I think the issue is there are two Portfolio templates inside your theme. I only changed one of them. Do you remember creating an extra one, or was that there by mistake? If so, you can either delete the extra one (without the modified code) or you can go to the pages were you have it selected as a template and select the other template.

                        #12652
                        sfriend
                        Customer

                          The second one is a backup before code changes. Not sure why it’s showing up in the theme editor, but all pages use the primary one. If you go to page 2 of http://floridahikes.com/travels, it’s misaligned. The problem appears to occur in Page 2 or Page 3, rarely Page 1. I’ll see about deleting that backup just in case.

                          #12669
                          Wes
                          Moderator

                            Ok let me know if that fixes it.

                            #12882
                            sfriend
                            Customer

                              Finally was able to delete that subdirectory and presto, it works! Thanks so much for your help. The site looks far better now with portfolios aligned as they should be.

                              #12883
                              Wes
                              Moderator

                                You’re Welcome!

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • The topic ‘Portfolio alignment issue’ is closed to new replies.