Balance Theme Portfolio Page Alignment

Community Forums Forums Design Tips and Tricks Balance Theme Portfolio Page Alignment

This topic is: resolved

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Robin 1 year, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35260

    LauraJane
    Participant
    Post count: 14

    Hi, I am using the balance child theme and have set up some portfolio pages. One of them looks great, but this page looks wonky: http://test.stitchfancy.com/tutorials/ The problem seems to be when the post titles are more than one line. I think it’s looking for a consistent width there, so it pushes things down and leaves blank spaces. Anyone else run into this issue? Any ideas how to fix it?

     

    Thanks

    #35274

    Robin
    Participant
    Post count: 327

    You can add a min-height to force the widget areas to flow correctly if you have two line titles. Example:
    .page-template-page_portfolio-php .featuredpage .page,
    .page-template-page_portfolio-php .featuredpost .post,
    .page-template-page_portfolioquilts-php .featuredpage .page,
    .page-template-page_portfolioquilts-php .featuredpost .post {
    float: left;
    margin: 0 10px 30px;
    padding: 0 0 20px;
    overflow: hidden;
    width: 300px;
    min-height: 270px;
    }

    I added the min-height of 270, which seems to be enough. The block of code starts at line 1330 in your CSS. HTH


    I do the best I can with what I’ve got. (say hey on twitter)

    #35276

    LauraJane
    Participant
    Post count: 14

    Thanks so much! That worked.

    #35423

    Robin
    Participant
    Post count: 327

    You’re welcome!

    Just a heads up: check your @import rule for Lobster Two. There is a space in there that’s preventing it from loading so the correct font is not showing unless it’s installed on the user’s system (it happens not to be on mine).


    I do the best I can with what I’ve got. (say hey on twitter)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Balance Theme Portfolio Page Alignment’ is closed to new replies.