D
D
dark_soho2015-04-15 17:45:31
Blogs
dark_soho, 2015-04-15 17:45:31

Why does the visual position of the posts on the page go astray?

Greetings!
cms wordpress, the theme is "portal", I modify it for myself.
problem areas - index.php, archives.php (page of all records, page of categories)
20 records are placed on the page (2 lines of 5 pcs), then there is a transition to the next. page.
When I publish the 9th entry, it gets confused and displayed as in the picture:
de998097742b4727a6f3a62b0999811d.JPG
When adding the last 10th entry, everything lines up as it should:
0c6d076822e642e8b161ed5296e2ca4b.JPGPS: In the original topic, the number of entries per line was 3, but they were larger in size. I reduced the value in the "width" parameter in the .exserpt class to 17.6%, and 5 records fit in length.
Since there will be many entries, the bug will always be repeated on the ninth entry.
Please help me find the cause of the jamb.
website - soholand.96.lt/releases

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Shatokhin, 2015-04-15
@dark_soho

You have a non-constant block height (due to different number of title lines).
To make sure everything works, give them a temporary .exserpt { height: 240px; } .
03de6dcb5a5645e2bc577148b68b5fac.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question