How to get 3 post colums instead of 1 post colums.
Hello,
How can i get 3 posts next to each other instead of 1 post in one column? For example on the catagory page. Which page do I have to edit and which part of the css? |
Quote:
To make the posts layout into the grids will probably require some advanced php. You may want to see the last post in this thread. You'd probably first sort your posts in reverse chrono. Assuming you'd want your posts to lay out 1, 2, 3 across the first row, then 4, 5, 6 below that, you'd use a "for" loop, starting with the latest thread, and increment your counter by 3, so your first column would have posts 1, 4, 7 .... In the second column, you'd start one higher, so you'd have posts 2, 5, 8 ..., and one higher for the third, ending with 3, 6, 9 .... P.S. Remember, PHP starts counting array items at 0, so you'd really have 0, 3, 6 ... in the first column, etc. |
How can I have 3 posts next to each other like grids in Atahualpa theme? I read everything about this topic on this forum and I still cant get it to work. By 3 posts (3 columns grids), I mean something like this: http://jimyaghi.com/ Here u can see 3 columns with post titles, except and image thumbnails. Is this achievable using Atahualpa?
|
Quote:
|
Just to be clear, the example site doesn't list posts next to each other in descending order by date. It's a child theme of TwentyTen that's been modified to have three widget areas which create the columns, and each widget area has a custom list of posts. The left sidebar has posts from about seven different categories, the middle sidebar has posts just from the News category, and the right sidebar has posts from another four or five categories, with a Facebook widget on top.
Hard to tell if the posts were put in by hand or if a plugin was used to generate them, but the same effect can easily be done in Montezuma. A widget area can be created on the left, the center area can display just the posts from a certain category (e.g., News), and a plugin can be used to control which categories of posts appear on the sidebars. |
with Montezuma you can also try this. Add the following CSS to the end of clear fix.css
HTML Code:
div.post { |
All times are GMT -6. The time now is 08:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.