Featured images change

  • Unknown's avatar

    Hi,

    I use Oxygen theme.

    Is there any simple way to change all featured images on my blog? I’d like to replace them all with one single picture.

    Doing it one by one will take me ages…

  • Hi there,

    You didn’t specify a blog, but I’m assuming it’s one of the blogs hosted here at WordPress.com.

    Featured image of all the posts can be replaced by a single image using CSS, which requires you to be on the Premium or Business plan. For Oxygen theme, the following code will do the trick. Replace background URL by the direct URL of an image uploaded to your Media Library, preferably with 470×140 resolution:

    .featured-image img {
        visibility: hidden;
    }
    .featured-image {
        background: url(https://MediaLibraryURL/img.jpg);
        background-repeat: no-repeat;
    }
  • Unknown's avatar

    You sir, are a genius! Works perfectly. Thank You very much!

  • The topic ‘Featured images change’ is closed to new replies.