Support » Themes and Templates » Have Posts in a Category Display in a Grid

  • Hello everyone,

    So I’ve been doing quite a bit of research online, but I haven’t found the perfect solution for myself yet.

    My website is, and the part I want to focus on is the T-shirt page at

    My dream is that instead of having them line up top to bottom now, I’d love for them to appear as many across as possible–for example, if the browser is larger and 4 can fit, then the T-shirts would stack 4 across and go down as necessary. If smaller, it would go 3 across, etc.

    How can I do this? Right now I’m making those images appear on that page, Category 11, by modifying the excerpts of each of the T-shirt posts. So basically each T-shirt post has an excerpt with an img src link of a smaller version of the T-shirt. Then, I pull the excerpts using PHP in the Category-11.php file. If you guys also have an idea about streamlining this (i.e. pulling the images from the posts and resizing them automatically using PHP) that would be awesome!

    Let me know if I can clarify myself in any way! Thanks in advance for your help!


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Have Posts in a Category Display in a Grid’ is closed to new replies.