Okay
  Public Ticket #263919
Blog extract double picture?
Closed

Comments

  • Timothy started the conversation

    I usually use a nectar slider as the first picture of each blog post, but when I also attach a featured image the blog summary extract includes both the featured image plus the first image in post (see example attached). I'd like to include a featured image as it seems to work better for reshares etc.

  •  8,839
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel :
    .excerpt .col img {
        display: none !important;
    }
    
    Cheers


    ThemeNectar Support Team 

  • Timothy replied

    it kinda worked as it now show the 'featured image' in the blog extract http://www.selvama.com/blog/ but it now means that the blog extract text starts with the name of the picture (as I usually have a one line text under the first image of the blog).

    Is there a way of having the first image of the blog chosen as the image for the blog extract, and hiding the featured image for the extraxt only. Have a featured image is now making things work a lot better for sharing. Thanks - hope I can just tidy up the text.

    Thanks for your help

  • Timothy replied

    example attached (see the text that reads - Lady Chapel inside Liverpool Cathedral Church (Anglican) on first blog post extract)

  •  8,839
    Tahir replied

    Hey !

    Please Add this into the Custom CSS box located in your Salient Options panel : 

    body .excerpt .wpb_column > .wpb_wrapper div:nth-child(2) {
        display: none !important;
    }
    
    
    

    Cheers


    ThemeNectar Support Team 

  • Timothy replied

    cool - worked like magic. don't know how you did it but it works :-D thanks!!

  • Timothy replied

    bummer - just did another post and it didn't work see: http://www.selvama.com/blog/

    latest post has picture description :-(  is there a best way for me to structure text?

  •  8,839
    Tahir replied

    Hey Timothy!

    Add this into the Custom CSS box located in your Salient Options panel :

    body .excerpt .wpb_column > .wpb_wrapper em {     display: none !important; }
    Cheers


    ThemeNectar Support Team 

  • Timothy replied

    it's gone but there is a really big space - is it because it is still there but invisible? Means that there is hardly any text. Checking out the other summaries, I now notice that the white space between the picture and text on the excerpts varies quite a bit. Any ideas?

    Thanks

  •   Tahir replied privately