How to add a featured image to regular /pages/ on search box?

Hello,

It seems that when we use the search box on our website (https://onetreeplanted.org), only blog posts and product pages display a featured image/thumbnail.
However, none of our “regular” pages display an image.

See the example below, when we search for “climate change”, only blog posts display an image, but the actual “climate change” page does not have an image:

Is there any custom code we can add so that the regular “/pages/” also display an image?

We found this article, but does not seem to work.

Any tips would be greatly appreciated!

Thank you,

Hi @OTP ,

By default a page has no placeholder for any image. What you can do is implement a generic image that will display for all pages. I believe you’re using the Theme search correct?

Hi @JHKCreate ,

Thanks for your reply, what would be the best way to add a generic image?

And for the search, yes, just searching our own website on the upper navigation menu.

Thanks!

Would you mind sharing your store’s URL so I can request collaborator access and do that for you? Would only need a few minutes. Let me know!