Because of what moves the layout starting with the 3rd record, on the blog page of Wordpress?

fitness.ad-rocket.com.ua/blog
On the blog page crooked displays the records starting with the third.
The problem is that it closes after the second record.
But as far as I understand the template for all entries one.
The question how to make a container closed at the end of the page as it should be?
If who faced prompt!)
June 8th 19 at 17:29
2 answers
June 8th 19 at 17:31
Solution
before each closing one extra
Yes, but in the template records it is not(
Water code
<?php
/**
 * The Template part for displaying posts
*
 * @link <a href="https://codex.wordpress.org/Template_Hierarchy"-->https://codex.wordpress.org/Template_Hierarchy
*
 * @package WP_Bootstrap_Starter
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="row">
 <div class="col-md-3">
 <div class="post-thumbnail">
 <?php the_post_thumbnail(); ?>
</div></div>
 <div class="border-line"></div>
 <div class="col-md-8 post-8">
 <div class="head-desc-blog">
 <header class="entry-header">
<?php
 if ( is_single() ) :
 the_title( '<div class="entry-title"-->', '</header></div>' );
 else :
 the_title( '<div class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></div>' );
endif;

 if ( 'post' === get_post_type() ) : ?>
 <div class="entry-meta">
 <?php wp_bootstrap_starter_posted_on(); ?>
 </div><!-- .entry-meta -->
<?php
 endif; ?>
 <!-- .entry-header -->

 <div class="entry-content-blog">
 <?php the_excerpt('new_excerpt_length', 50); ?>
 </div></div><!-- .entry-content -->

 <footer class="entry-footer">
 <?php echo '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark"--><img class="image-link-blog" src="/wp-content/themes/wp-bootstrap-starter/inc/image/ARROW _ RIGHT.png">Read more '?>
 <!--<?php wp_bootstrap_starter_entry_footer(); ?>-->
 </footer><!-- .entry-footer --></div>

</article><!-- #post-## -->
- hipolito_Schiller86 commented on June 8th 19 at 17:34
<!-- .entry-footer -->

<!-- #post-## -->

remove one of the DIVS in this code and look - Lydia_Pur commented on June 8th 19 at 17:37
I'm ashamed of)) Really one div was superfluous)
Thank you very much!)
Everything works) - hipolito_Schiller86 commented on June 8th 19 at 17:40
June 8th 19 at 17:33
You .container is closed at the second post, close it at the end along with .row
That's the question why he closed it on the second record, as far as I understand the template records, one for all.
Or am I mistaken?

here is the code of record
<?php
/**
 * The Template part for displaying posts
*
 * @link <a href="https://codex.wordpress.org/Template_Hierarchy"-->https://codex.wordpress.org/Template_Hierarchy
*
 * @package WP_Bootstrap_Starter
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="row">
 <div class="col-md-3">
 <div class="post-thumbnail">
 <?php the_post_thumbnail(); ?>
</div></div>
 <div class="border-line"></div>
 <div class="col-md-8 post-8">
 <div class="head-desc-blog">
 <header class="entry-header">
<?php
 if ( is_single() ) :
 the_title( '<div class="entry-title"-->', '</header></div>' );
 else :
 the_title( '<div class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></div>' );
endif;

 if ( 'post' === get_post_type() ) : ?>
 <div class="entry-meta">
 <?php wp_bootstrap_starter_posted_on(); ?>
 </div><!-- .entry-meta -->
<?php
 endif; ?>
 <!-- .entry-header -->

 <div class="entry-content-blog">
 <?php the_excerpt('new_excerpt_length', 50); ?>
 </div></div><!-- .entry-content -->

 <footer class="entry-footer">
 <?php echo '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark"--><img class="image-link-blog" src="/wp-content/themes/wp-bootstrap-starter/inc/image/ARROW _ RIGHT.png">Read more '?>
 <!--<?php wp_bootstrap_starter_entry_footer(); ?>-->
 </footer><!-- .entry-footer --></div>

</article><!-- #post-## -->
- hipolito_Schiller86 commented on June 8th 19 at 17:36

Find more questions by tags WordPressLayout