yongjp
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Themes and Templates
In reply to: [Dyad] Changing number of posts per row on main pageNever mind. Found the answer in on of the threads.
@media only screen and (min-width: 1200px) { .posts .hentry { width: 33.33333%; } .posts .hentry:nth-of-type(4n+3) .entry-inner, .posts .hentry:nth-of-type(4n+4) .entry-inner, .posts .hentry:nth-of-type(4n+3) .edit-link, .posts .hentry:nth-of-type(4n+4) .edit-link { right: 0; left: auto; } .posts .hentry:nth-of-type(4n+3) .entry-media, .posts .hentry:nth-of-type(4n+4) .entry-media { float: left; } .posts .hentry.has-post-thumbnail:nth-of-type(6n+4) .entry-media, .posts .hentry.has-post-thumbnail:nth-of-type(6n+5) .entry-media, .posts .hentry.has-post-thumbnail:nth-of-type(6n+6) .entry-media { float: right; } .posts .entry-inner { right: 0; } .posts .hentry.has-post-thumbnail:nth-of-type(6n+4) .entry-inner, .posts .hentry.has-post-thumbnail:nth-of-type(6n+5) .entry-inner, .posts .hentry.has-post-thumbnail:nth-of-type(6n+6) .entry-inner, .posts .hentry.has-post-thumbnail:nth-of-type(6n+4) .edit-link, .posts .hentry.has-post-thumbnail:nth-of-type(6n+5) .edit-link, .posts .hentry.has-post-thumbnail:nth-of-type(6n+6) .edit-link { left: 0; right: auto; } .posts .hentry.has-post-thumbnail:nth-of-type(6n+4) .entry-inner:after, .posts .hentry.has-post-thumbnail:nth-of-type(6n+5) .entry-inner:after, .posts .hentry.has-post-thumbnail:nth-of-type(6n+6) .entry-inner:after, .posts .hentry.has-post-thumbnail:nth-of-type(6n+4) .entry-inner:before, .posts .hentry.has-post-thumbnail:nth-of-type(6n+5) .entry-inner:before, .posts .hentry.has-post-thumbnail:nth-of-type(6n+6) .entry-inner:before { left: auto; margin-left: 0; margin-right: -25px; right: 0; } }Mod: Edited to add code tags.
Viewing 1 replies (of 1 total)