Forums

Limiting post length in blogroll (5 posts)

  1. nmknmk
    Member
    Posted 2 years ago #

    Hi

    Can't find an answer that specifically answers my question. My site http://cruxof.it does reviews that have varying sizes of images. I want to limit the hight of the posts while still previewing the at least part of the image(s) in the post. I've been using read more cut off but that doesn't always help if the images are off size. Ideally i'd like the posts on the roll to be 500x300. Is there a plug in that previews the image, either by reducing the size of it or by cutting it slightly, or something?

    Thanks in advancee

  2. Peter Boosten
    Member
    Posted 2 years ago #

    you could add the following to your css in class post:

    (the max-height and overflow property)

    .post {
      margin-bottom:20px;
      margin-left:130px;
      margin-top:10px;
      max-height:300px;
      overflow:hidden;
      width:500px;
    }

    Peter

  3. nmknmk
    Member
    Posted 2 years ago #

    Great! Few more things I'd like to achieve.
    -Is there a way to add a fade at the bottom of each post
    -make read more link visible at bottom of each post 'preview'
    -scale down images displayed via main page?

    Thanks for your time

  4. nmknmk
    Member
    Posted 2 years ago #

    Actually, now it reduces length on post page too.

  5. Peter Boosten
    Member
    Posted 2 years ago #

    Hmm, maybe it's time thinking about using the excerpt feature. That requires you to do some work, but it might accomplish anything you're trying to achieve.

    Peter

Topic Closed

This topic has been closed to new replies.

About this Topic