Home Forums Basel support forum Hide featured blog image inside post only

Hide featured blog image inside post only

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #351781

    ediocracy
    Participant

    Hello,

    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.
    #352000

    Hello,

    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

    #352023

    ediocracy
    Participant

    I changed the domain since posting this question, the new domain is attached.

    #352355

    Hello,

    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

    #352368

    ediocracy
    Participant

    That 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.
    #352412

    Hello,

    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

    #353578

    ediocracy
    Participant

    That 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.

    #353674

    Hello,

    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

    #354046

    ediocracy
    Participant

    That 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.

    #354201

    Hello,

    Please remove all the code I provided and try add this one:

    body.single-post .entry-header{
    display:none;
    }

    Best Regards

    #354287

    ediocracy
    Participant

    That worked thank you!

    (I don’t see a button to close this thread or I would. )

    #354332

    You 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!

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Hide featured blog image inside post only’ is closed to new replies.