• I am having trouble getting thumbnail images from a “category” page to center with the rest of the columns.

    Here is what I mean: https://www.bethanychurch.info/media/sermons/

    The images seem to be Top Aligned.

    I have tried to edit the .css but no avail.

    I’m using the Moses Theme – which I have customized to fit our needs.

    Any help you can give is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jkriggs

    (@jkriggs)

    Here’s the code that tells the image where to go:

    <td class="series"><?php
    					//get the post thumbnail for this post
    					$image_id = get_post_thumbnail_id();
    					$image_url = wp_get_attachment_image_src($image_id,'full');
    					$image_url = $image_url[0];
    					if ($image_url != ""){
    					?>
                        <img src="<?php bloginfo( 'template_directory' ); ?>/thumb.php?src=<?php if (is_multisite()){echo get_current_site(1)->path; echo str_replace(get_blog_option($blog_id,'fileupload_url'),get_blog_option($blog_id,'upload_path'),$image_url); }else{ echo $image_url;}?>&h=45&w=80&zc=1" width="80" height="45" alt="image" />
                        <?php } ?></td>

    Any ideas?

    Thread Starter jkriggs

    (@jkriggs)

    Added this to the custom css

    td.series {vertical-align: top;}

    fixed it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image Top Aligned – Can't move it down’ is closed to new replies.