Length of front page recent posts

Discussion in 'ButterBelly WordPress Theme' started by sbacigalupi, Mar 12, 2014.

Thread Status:
Not open for further replies.
  1. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    I noticed that the length of the recent post columns tends to vary quite a bit. Can you give me some tips on how to make sure they stay a little more consistent? You can see what I mean here:

    http://9a2.660.myftpupload.com/

    You'll see that there's a ~80px difference in length between the shortest column and longest column.

    Thanks.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
     .feature_blog_content ul li .post_content p {
    height: 200px;
    overflow: hidden;
    }
    Thanks & Regards
    Gourav Shrivastava
     
  3. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    That almost does the trick, but now some of them are missing the [...] at the end of the sentence, implying there is more. I'll make this change and maybe my client won't notice, but if possible it would be great if you could tell me what mechanism determines the length of the text in the front-page posts. Adding line breaks, new paragraphs, spaces, changing the word count, etc. doesn't seem to trigger the [...].
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Front-page blog length depends on the excerpt value, that is maintained from the front-page.php file present in your theme directory. you can change its value from there, It will count the number of words and it is showing the difference in size of post because your first post have big words and second one have small.

    Thanks & Regards
    Gourav Shrivastava
     
  5. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    Got it, thanks :)
     
Thread Status:
Not open for further replies.

Share This Page