Support » Theme: Lucienne » Carousel Post Preview

  • Is there a way to remove the post preview from the carousel? I want to keep it for the posts but would rather it were removed for the carousel to give a different look.

Viewing 1 replies (of 1 total)
  • You have several paths to the same end. The easiest is not necessarily the best.

    Easiest: Add these lines of CSS to the Customizer > Additional CSS:

    .slider-info {
    display: none !important
    }
    #slider .item {
    height: 520px !important
    }

    Worst: Edit the theme’s \template-parts\carousel.php file. Remove the section in lines 16-25.

         <div class="slider-info">
            <h3><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3>
            <div class="entry-cat">
    			<?php the_category( ', ' ) ?>
    		</div><!-- .entry-cat -->
            <div class="slider-excerpt"><?php the_excerpt(); ?></div>
            <div class="entry-datetop"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php echo get_the_date( get_option('date_format') ); ?></a> </div> 
             <?php get_template_part( 'sharing' );  ?> 
        
        </div>

    Best: Create a child theme, and save a customized version of carousel.php in your child theme folder.

Viewing 1 replies (of 1 total)
  • The topic ‘Carousel Post Preview’ is closed to new replies.