Forums

Space Where No Featured Image (3 posts)

  1. ccmovies
    Member
    Posted 1 year ago #

    Hello,
    I am currently making my first wordpress theme and I decided to go with the featured image feature for my post's image on the homepage. The only thing is that when I do not have any image selected, it leaves a space which causes my title to shift to the left. Here is a link to my "testing zone" http://s281618367.onlinehome.us/wordpress/. Any help would be much appreciated!

  2. WillxD
    Member
    Posted 1 year ago #

    Hello, you can check this page http://codex.wordpress.org/Function_Reference/has_post_thumbnail

    On your theme, you should put a condition if the post had a thumbnail.

  3. ccmovies
    Member
    Posted 1 year ago #

    Awesome that is exactly what I was looking for! Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic