WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to post in multi column ? (9 posts)

  1. therapp
    Member
    Posted 2 years ago #

    How to post in multi column ?
    I mean multi post in multi collunmn not 1 post in multi column

    Please help
    Thanks.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    that is mainly a css challenge - can you post more details what you like to achieve?

    can you post a link to your site, to illustrate what you have so far?

  3. therapp
    Member
    Posted 2 years ago #

    Hi,
    Sorry for my bad english. I'm Thai = ='

    I want to display latest post from each category in 4 column
    It look like this website
    [mod: link NSFW]

    how to edit css or how can I do this?

    Thanks

  4. therapp
    Member
    Posted 2 years ago #

    This is my index.php
    How can edit it to 4 column?

    [code moderated - please follow the guidelines http://codex.wordpress.org/Forum_Welcome#Posting_Code when posting code]

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    possibly start by editing your code to look like:
    http://pastebin.com/YqCQdkyb

    and add this to style.css:

    .column { width: 24%; float: left; margin-left: 1%; }
    .column.first { clear: left; margin-left: 0; }

    for any further suggestion with adjusting the css, you would need to post a link to your site.

  6. therapp
    Member
    Posted 2 years ago #

    Hi, alchymyth
    Thanks for help

    (mod: [NSFW])this is my website (sorry for the site is impolite)
    now it have 4 column but it not contiguous. (you can see in my site)
    I use Glassical Theme

    this is my index.php
    http://pastebin.com/TzDUe6J3

    my style.css
    http://pastebin.com/RJP8A57L

    page.php
    http://pastebin.com/KxKgVk3L

    category.php
    http://pastebin.com/6TJz4jW5

    At my Homepage. I want to show last post from each Category
    And show post in 4 column on Category page. it look like this(mod: link [NSFW])

    how to do this?

    Thank you very very very much for the Help :)

  7. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    And show post in 4 column on Category page.

    try to use this for category.php:
    http://pastebin.com/0DKsHHXh
    with these adapted styles (just change the styles that you added at the end of style.css):

    .post.column { clear: none; }
    .post.column { width: 24%; float: left; margin-left: 1%; }
    .post.column.first { clear: left; margin-left: 0; }
    .post.column h2 { font-size: 15px; }

    (adjust the font-size to what you need)

    to change index.php will be more complex - i'll have a look at that later;
    - will you have more than three categories?
    - do you want multiple columns as well?

  8. therapp
    Member
    Posted 2 years ago #

    to change index.php will be more complex - i'll have a look at that later;
    - will you have more than three categories?

    Yes it more than three categories
    but I want to show last post only this three categories

    do you want multiple columns as well?

    I want 4 column
    it would be very nice if it has 2 rows
    (2 rows per each category to show)

    how to do this?

    this is index.php :
    http://pastebin.com/ubyPhwV7

    *And how to hide article for show only image thumbnail and title = ='

    Thanks again :)

  9. therapp
    Member
    Posted 2 years ago #

    OK, nevermind
    thank you very much for the help :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.