Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1264052

    Hey team

    I am using a custom post type. I tried to use

    
    .single .post-entry .big-preview {
        display: none !important;
    }

    But, the image is still showing. You can see it here

    Can you tell me how to hide it? There is no option on the backend, where our input looks like super old-school Pre-Gutenburg editor.

    Thanks!

    #1264092

    Hey KMC,

    Add this to quick css:

    .entry-content-header .page-thumb img.wp-post-image{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1264100

    Thanks Jordan

    That does work, but it also removes the image from the post. I am trying to just have the post image (which is calling the featured image).

    Any further suggestions?

    Cheers

    #1264140

    Hi,

    Can you provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1264152

    Hi Jordan

    This is the page

    currently, no image is showing…with your css. I removed it so you can see the two images.

    #1264405

    Hi,

    Thanks for the update. Please try this CSS instead:

    .single .entry-content-header .page-thumb {
      display: none;
    }
    .single .template-page .entry-content-header .page-thumb {
      display: block;
    }

    Best regards,
    Rikard

    #1264416

    That’s it! Thank you so much. :)

    #1264631

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Hide featured image on custom post type’ is closed to new replies.