Home › Forums › Pro Themes › Magpaper Pro › Remove/Hide Featured Image
- This topic has 7 replies, 2 voices, and was last updated 3 years, 9 months ago by wensolutions.
-
AuthorPosts
-
August 24, 2020 at 11:27 am #132141Nathan McRaeParticipant
Is there a way to hide the featured image in blog posts? In many of my posts, I don’t have an accompanying image; I just want to have text displayed. How would I remove the empty grey featured image box in these cases? Relatedly, on my homepage, can I change the ‘latest posts’ section, so that does not show the ‘no image found’ box on posts without a featured image?
Thanks!
August 24, 2020 at 11:45 pm #132179wensolutionsKeymasterHello,
Please provide us with your site URL so that we can inspect further and help you with the CSS if possible.
Also, explain in which page you want the featured and where you do not want.
Regards.
August 25, 2020 at 11:40 pm #132272Nathan McRaeParticipantSure.
Here is an example post: https://nathanmcrae.com/?p=151
In this case, I have no image to go with the post, and would like it if the grey box was not displayed.On the regular site homepage: https://nathanmcrae.com/
Similar request, that the posts without a photo do not display ‘no image found’. This second request though, is less of an issue if it cannot be easily fixed, as I will probably end up using elementor to create a custom homepage.August 26, 2020 at 1:51 am #132288wensolutionsKeymasterHello,
To remove the featured image section, you can add below given CSS following the path Admin Panel > Appearance > Customize > Additional CSS.
.postid-151 #page-site-header { display: none; }
To remove the No Image Found section and manage the section, you can add below given CSS following the path Admin Panel > Appearance > Customize > Additional CSS.
#latest-posts .section-content .featured-image { display: none; }
Hope this helps.
If you have further queries, let us know.
Regards.
August 27, 2020 at 7:00 pm #132425Nathan McRaeParticipantFor the the featured image section, is there a way to remove the header for all of the posts (or a range of posts) instead of just a single post?
The second fix for the homepage works perfectly.
Thank you.
August 27, 2020 at 11:31 pm #132436wensolutionsKeymasterHello,
To remove the featured image section, you can add below given CSS following the path Admin Panel > Appearance > Customize > Additional CSS.
.single-post #page-site-header { display: none; }
Hope this helps.
If you have other pages where you want to remove the featured image, please provide us with the specific link of the posting page.
Regards.
August 28, 2020 at 8:14 pm #132608Nathan McRaeParticipantThis solves my problem. Thank you.
August 30, 2020 at 11:29 pm #132732wensolutionsKeymasterHello,
Glad we could help you.
If you have any queries further, let us know.
Regards.
-
AuthorPosts
- You must be logged in to reply to this topic.