Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter RSchneider94

    (@rschneider94)

    CODE:

    <!-- Portfolio Grid Section -->
    <section id="portfolio">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center">
                    <h2>Portfolio</h2>
                    <hr class="star-primary">
                </div>
            </div>
            <div class="row">
    
            <?php $loop = new WP_Query( array( 'post_type' => 'Projeto', 'posts_per_page' => 6 ) ); ?>
                <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
    
                <div class="col-sm-4 portfolio-item">
                    <a href="#portfolioModal<?php the_ID(); ?>" class="portfolio-link" data-toggle="modal">
                        <div class="caption">
                            <div class="caption-content">
                                <i class="fa fa-mouse-pointer fa-3x"></i>
                            </div>
                        </div>
                        <?php the_post_thumbnail('thumbnail-projetos', array('class' => 'img-responsive')); ?>
                    </a>
                </div>
    
                <?php endwhile; wp_reset_query(); ?>
    
            </div>
        </div>
    </section>
    Thread Starter RSchneider94

    (@rschneider94)

    Fixed it by my own.

    .nav {
    max-height: 42px;
    }

Viewing 2 replies - 1 through 2 (of 2 total)