Remove the striped background behind a featured image in a post

  • Unknown's avatar

    Hi,

    I’ve looked high and low and tried to understand the Twenty Fourteen CS S style sheet so am guessing I know the answer already, but in case I have completely missed the answer somewhere:

    Is it possible to change the background area for the featured image in a single post to white? That we it won’t look so tacky when I’m using smaller images which don’t completely fill the space.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Add this to your Appearance > Customize > CSS editor to remove the striped background everywhere the “post-thumbnail” class is used:

    .post-thumbnail {
    	background: none;
    }

    To limit to single posts only, add “.single ” to the front of the selector like this:

    .single .post-thumbnail {
    	background: none;
    }
  • The topic ‘Remove the striped background behind a featured image in a post’ is closed to new replies.