How To Center Thumbnail with Post Title
  • jonsiejonsie August 2011
    Posts: 2

    Everything I need is displaying (the post titles in the correct category along with their thumbnails), but now I need to align the thumbnails with the post titles.  Ideally I would like to display them in a table-like format, with the post title on the left and the thumbnail on the right (which it currently does), but I need the title in the vertical middle of the thumbnail.


    When I do this manually in HTML, I set "align=middle" in the <img> tag.  I know we can tweak the default php template, but I'm not familiar enough with php to make this adjustment.  Can anyone help?


    Thank you!

  • AddOnParkAddOnPark October 2011
    Posts: 4
    For thumb image, use "attachment-post-thumbnail" css class for formatting. For title, the css should be .lcp_catlist a{}, and for excerpt, use "lcp_excerpt" to customize look and feel.
  • Hawkman14Hawkman14 November 2011
    Posts: 4
    AddOnPark,
    I could not get the thumb image to work using "attachment-post-thumbnail".

    I got it to work using ".wp-post-image" instead

Howdy, Stranger!

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

Sign In with OpenID Sign In with Twitter Sign In with Google

Sign In Apply for Membership

In this Discussion

This Site is currently in maintenance mode.
Please check back here later.
→ Site Settings