The slider in this link: link was with the indicators (items of the UL) aligned, but when I will configure to stay dynamic with wordpress, adding the template tags, they misaligned, staying one above the other.
<?php
$posts_slides = new WP_Query (array(
'category_name' => 'Destaques',
'posts_per_page' => 3
));
$n = 0;
while($posts_slides->have_posts()) : $posts_slides->the_post();
?>
<ul class="nav nav-pills nav-justified">
<li data-target="#myCarousel" data-slide-to="<?php echo $n ?>">
<a href="#">
<?php the_title(); ?>
</a>
</li>
</ul>
<?php $n++; endwhile; wp_reset_postdata(); ?>
I have tried to inspect all elements trying to get a solution in CSS and have not found it. It may be that with different eyes the solution is found. Thanks in advance for your help.