WordPress.org

Ready to get started?Download WordPress

Forums

Delicacy
Grid format on archive pages (3 posts)

  1. salabinha
    Member
    Posted 1 year ago #

    I have a question regarding archives page. I am trying to display the content on the archive page only in grid format with 2 or 3 columns.

    I tried wrapping the 'if have post stuff’ with a div and adding a css to the style.css file.

    On the archive page I have:
    <div class="new-wrapper">
    …the post code…
    </div>

    On the style.css I added:
    .new-wrapper { float: left; width: 200px; height: 200px; margin: 0px 20px 20px 0px; }

    The problem is this is creating just one columns and I would like to have 2 or 3 columns.

    Can you please advise on what to do in order to display the posts in the achive page only in grid format with 2 or 3 columns?

    Thank you so much in advance.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    This may be what you are trying to do?

    http://wordpress.mcdspot.com/2010/11/28/align-posts-in-a-row/

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    it might help troubleshooting if you can post a live link to your site, pointing to an archive page with the problem.

    in the meantime, try working with a browser inspection tool such as Firebug, to find out what is causing the one-column layout.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic