Okay
  Public Ticket #1591784
Black square on single blog post when featured image is hidden
Closed

Comments

  • Tiffany Yeh started the conversation

    I have ticked "hide featured image on single blog post" under Salient blog settings, but a black square shows up when I don't insert a featured image. how do I fix this without adding a featured image which the code then hides? Shouldn't the code already hide the black box that shows up on default?



  •  3,032
    Andrew replied

    Hi Tiffany,

    Not exactly sure what might be causing this but you can remove that placeholder image with this CSS from main post page:

    .single article.post .content-inner .post-featured-img img[src*="salient/img/no-portfolio-item-tiny.jpg"]{
        display:none;
    }
    .single article.post .content-inner p em{
        display:none;
    }
    

    add it to salient \ general settings - css script related - custom css code.

    Cheers.