Home › Forums › Basel support forum › Hide featured blog image inside post only
Hide featured blog image inside post only
- This topic has 11 replies, 2 voices, and was last updated 2 years, 9 months ago by Elise Noromit.
-
AuthorPosts
-
February 9, 2022 at 6:54 pm #351781
ediocracyParticipantHello,
How can I hide the featured image only inside of blog posts?
My solution:
I used CSS to hide the image, but that created an overlapping date and category.
See attached image “Overlap”It also hides the featured image for the blog archive too.
See image “blog archive”Because of the overlap, I used CSS to also hide the date and category.
I really don’t want to hide the date and category, just the featured image, and ONLY inside the post, and not for the archive and blogrolls.
So how can I hide the image, only inside of the post, and without CSS that causes errors somewhere else?
Attachments:
You must be logged in to view attached files.February 10, 2022 at 2:08 pm #352000
Elise NoromitMemberHello,
Your site is under construction. Please insert the site admin access into the Private content below the message area as well as the blog URL.
Best Regards
February 10, 2022 at 3:39 pm #352023
ediocracyParticipantI changed the domain since posting this question, the new domain is attached.
February 11, 2022 at 3:47 pm #352355
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.post-img-wrapp{ display:None; } .blog-post-loop.has-post-thumbnail .entry-title{ padding-top:50px; } body .blog-post-loop.has-post-thumbnail .post-date{ top: 30px; }
Best Regards
February 11, 2022 at 4:25 pm #352368
ediocracyParticipantThat doesn’t work, it still removes the featured image in the archive, and it didn’t remove the image inside the post.
Attachments:
You must be logged in to view attached files.February 11, 2022 at 11:43 pm #352412
Elise NoromitMemberHello,
Please replace the CSS with this one for the Blog page only:
body.blog .post-img-wrapp{ display:None; } body.blog .blog-post-loop.has-post-thumbnail .entry-title{ padding-top:50px; } body.blog .blog-post-loop.has-post-thumbnail .post-date{ top: 30px; }
If you have any questions please feel free to contact us.
Best Regards
February 16, 2022 at 4:50 pm #353578
ediocracyParticipantThat didn’t do anything, I pasted it and saw no changes. Did you test that it worked before giving me that code?
I know how to write CSS, nothing I’m trying is working. Is this even possible to delete the featured image, only inside the post? Many WP themes come with a setting and all you have to do is enable it.
Here’s what I’m looking for:
– NO featured image inside of the post
– NO missing featured images in post archives and blogrolls
– NO date and category stacked on to of each other.February 17, 2022 at 1:31 am #353674
Elise NoromitMemberHello,
Yes, I have tested, that is what I see: https://gyazo.com/531de3fd12a2a8cb23a92c3247716a92
Please insert the site admin access into the Private content below the message area.
Best Regards
February 17, 2022 at 8:01 pm #354046
ediocracyParticipantThat is taking the featured image off the blog archive, exactly what I’m trying NOT to do.
I ONLY want the featured image removed INSIDE the post.
Here’s what I’m looking for:
– NO featured image inside of the post
– NO missing featured images in post archives and blogrolls
– NO date and category stacked on to of each other.You have my site access.
February 18, 2022 at 11:18 am #354201
Elise NoromitMemberHello,
Please remove all the code I provided and try add this one:
body.single-post .entry-header{ display:none; }
Best Regards
February 18, 2022 at 3:25 pm #354287
ediocracyParticipantThat worked thank you!
(I don’t see a button to close this thread or I would. )
February 18, 2022 at 8:24 pm #354332
Elise NoromitMemberYou are welcome! We are here to help. If you have any questions please feel free to contact us. I will close this topic.
Wish you a wonderful day!
-
AuthorPosts
The topic ‘Hide featured blog image inside post only’ is closed to new replies.
- You must be logged in to create new topics. Login / Register