Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] limit number of posts based on size

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28378

    ok. my questions keep getting more and more out there but everyone has been so helpful, i figure i may as well ask.

    here’s my situation. i’m displaying a second loop of posts at the bottom of my page. the posts are being displayed horizontally & the main category is tumblelog or cat=3. here’s the code i’m using to display the posts:

    Code:

    id=”post-“>


    see how it is displaying 4 posts as a default? here’s the deal. i have 6 tumblelog categories. each has different css. what i mean is:
    links width is 220px, quotes width is 340px, etc. all totaling up to 940px. i’m trying to figure out a way to limit the posts available in the loop by size – instead of just saying 4 posts. that way, i can, at least theoretically, keep it full – with no empty space. does that make sense? i can explain better, if not.

    anyway, any help would be greatly appreciated.

    #72361

    nevermind :)

    i’m going to make all the posts the same size and utilize this http://css-tricks.com/set-font-size-based-on-word-count/ to make up for the extra space. man, i love this site.

    thanks all the same.

    cheers,

    d

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.