Remove the first “big post” from the category page
-
.archive #content .post:first-child { float: left; width: 48.7013%; } .archive #content .post:nth-child(2n+1) { float: left; clear: both; } .archive #content .post:nth-child(2n) { float: right; clear: none; }
The code works perfectly in the desktop view.
In the mobile view, however, the first post is only displayed in half width. It doesn’t look nice.
Is there a better solution for the mobile view?Thank′s Mike
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove the first “big post” from the category page’ is closed to new replies.