If your theme has a single.php file, edit it and remove this code:
the_post_thumbnail();
If your theme has a single.php file, edit it
Heads-up – editing your theme files means your changes will be overwritten every time you update the theme, so it’s not recommended.
You can make this type of change with CSS alone, no child theme (the recommended way to make theme file changes) is needed.
.page .hero.with-featured-image {
background-image: none;
}
.home .hero.with-featured-image {
background-image: url("ttp://www.encapdio.com/wp-content/uploads/2015/05/cropped-bg-1230x563.jpg");
}
Note that you will need to modify the path to your homepage featured image if you ever decide to change it.
As I mentioned above, don’t edit the theme files directly, otherwise your changes will be overwritten whenever the theme is updated.
An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS.
As alternatives, you could either install a standalone custom CSS plugin, or create a child theme.
I managed to get all of that to work, but now my home page’s featured image doesn’t display itself on my home screen.
I believe that is what your .home code is supposed to fix, but there is no home section in the CSS.
I believe that is what your .home code is supposed to fix, but there is no home section in the CSS.
You shouldn’t be touching your theme’s original CSS, but instead adding the code I gave you as custom CSS, as I mentioned above. You can either go the custom CSS plugin or child theme route.