Forums

WordPress Category Page (8 posts)

  1. teckn1caLity
    Member
    Posted 1 year ago #

    I have experience with Category Pages but I'm in need of some assistance on something I have no experience with. I've moved page content around plenty of times but I can't figure out how to make it instead of a vertical list of posts from a category, but make it horizontal. Any help will be greatly appreciated and I can elaborate more if needed.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Yep, if you could explain more clearly, that would be helpful -- pages are of limited width, so that limits a horizontal list in my mind.

  3. teckn1caLity
    Member
    Posted 1 year ago #

    My website width is 1030px and for this category page I'll be removing the sidebar therfor I'll be able to use it all. I want 3 rows x 3 columns of 325px width.

    -I subscribed to the thread that's why I responded so quick =]

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You can do it with divs positioned by CSS -- best way, or by using a table (outdated method but perhaps easier if you don't know CSS well.

    Are you talking about this layout repeating in more than one template -- or just one like it? And would it be the same number of posts (i.e. always 9) or varied depending on the search?

  5. teckn1caLity
    Member
    Posted 1 year ago #

    Always 9 than you would go to page 2. Yeah I have no idea how to position it side by side instead of under eachother with CSS. Could you provide me a few ideas on what to try?

    This template is only for a specific category.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    See this:
    http://www.w3schools.com/css/css_float.asp

    And here is an example of a page I did that is basically like what you want -- photos not there (obviously) -- but you can see the html and CSS code.

    http://pastebin.com/WACyqHa8

    But do realize that you will have to construct code that incorporates the php code into the layout so the contents(posts) fill the spaces in the layout...not so simple.

  7. teckn1caLity
    Member
    Posted 1 year ago #

    Hmmm, how would I go about implementing this into a loop?

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can't help you there...sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.