Before you ask please READ THIS

height of blogitems

edited February 2012 in Airlock Posts: 6
Is there a way to give a fixed height to the blog items overview. Now they are given a specific height according to the text and title of the blogpost. If we can give them a fixed height they will align nice and pretty.
Now there's a big contrast with the aligned layout of the portfolio items. I really think it would give some more unity to the template.

An mock-up attachment to better understand my needs.

Thanks in advance!
site01_original.jpg
1303 x 821 - 180K
site01_mockup.jpg
1303 x 821 - 172K

Comments

  • AirAir
    Posts: 10,970
    Hi

    Check this page to see what we wished to achieve with blog posts http://masonry.desandro.com/

    If you don't like it you can mess with CSS, style-light.css line ~469
    add this rule, or edit existing

    .elastic .item{
    height: 300px;
    overflow: hidden;
    }
  • Hi,

    thanks for this. Exactly my point! I was able to get it working so thumbs up.
    Now there is a small issue concerning the categories that are normally under the post. See images or website.

    Is there a way to specify how much characters the blogpost preview text on the frontpage is shown and end it with (...) if the blogpost text is to long.

    I provided 2 images. one of the current situation with some remarks. And the other one how i should be. I understand that it's not easy to perfectly align the category every time (due to length of titel, post, categorie,...), but I hope you can provide me an answer or direction.

    http://www.pilipili.be/2011/

    Thanks in advance
    current.jpg
    1201 x 859 - 320K
    wanted.jpg
    1201 x 859 - 289K
  • Quick update. I was able to fix this problem on the blog page (that displays al the blog items) by using the "read more" attribute in wordpress. But on the homepage I still have the samen issue.

    Homepage: http://www.pilipili.be/2011/
    Blogpage : http://www.pilipili.be/2011/blog/
  • AirAir
    Posts: 10,970
    It looks like you solved it :-)
  • No, actually for the blogpage it is fixed when I use this workaround
    But not for the home page that shows a few blogitems.

    Any idea?
  • AirAir
    edited March 2012 Posts: 10,970
    Wow, it was mind binder:-)
    It is pure BUG in our theme :-)
    You have three options:
    1. Use attached(updated file)
    2. Read about manual excerpts http://op111.net/67/
    3. Change excerpt length in airlock/apollo13.php, search for:

    function excerpt_length( $length ) {
    return 40;
    }
    and change 40 to desired number of words in excerpt(comment above this function is wrong btw;-) )

    With regards.
    zip
    zip
    front-page.zip
    2K
    Post edited by Air on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!