When searching, my About page shows in the search result since I mention a few product brand names on it. How do I replace the search result image for my About page?
Thanks
Issue: In Shopify’s Dawn theme, the About page appears in on-site search results with a generic colored box thumbnail. The request is to set a custom thumbnail image for that page in search results.
Clarifications: Adding an image to the page description does not control the search result thumbnail. The store uses Dawn 3.0.0 (Online Store 2.0).
Proposed solution (consensus):
Implementation details shared: A contributor posted step-by-step instructions and sample code that comments out the default ‘page’ block and inserts logic to display the metafield image when present. Another contributor offered to implement the Liquid changes.
Status: No confirmation that the fix worked; the thread remains open/without a marked solution.
Notes: Screenshots illustrate the red-box placeholder and admin locations; the code snippet is central to applying the fix.
When searching, my About page shows in the search result since I mention a few product brand names on it. How do I replace the search result image for my About page?
Thanks
Hello @PLCollection ,
You can add the image to the description of collection admin as shown below:
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Best regards.
Thanks - but this was not my question. I know how to add an image to a page description. What I meant is where can I add the thumbnail image for the page when this page shows up in a search result.
Hello @PLCollection ,
Please let us know if you want to change the image here in your search results on your site?
If yes please follow my previous instructions.
If it is wrong please take a screenshot of the location you want to change and please share your store URL and password of front view.
So that I will check and let you know the exact solution here.
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Best regards.
Attached is a screen shot when searching for “Belperron”…how do I have a different image for About page red box – or is it just using one of the colors from the theme
Hello @PLCollection ,
Could you let us know if you use theme Dawn 2.0 of shopify?
If yes please follow my previous instructions.
if you use other theme let me know your theme and your screenshot desciption page
Please share your store URL and password of front view.
So that I will check and let you know the exact solution here.
Best regards.
Add a metafield for image for about page as shopify 2.0 supports metafields inbuilt.
and on search grid please use the image added by metafield on search.liquid file.
I removed password on my site pl-collection.com. If you search “Belperron”, you will see the issue I’m pointing out with the About page.
I forgot to mention I’m using Dawn 3.0.0 theme.
I see there is red box alng with About title on search page.
You need to add image through metafield on shopify backend then need to modify some liquid code of search.liquid file to call that image added from shopify backend.
If you can provide your store access I can help you with this.
did you ever get a solution to this? I have the exact same issue and would like a way to fix it… thank you
@andrewzimmerman
It needs to do some liquid coding on search.liquid file of your theme which I can fix it for you.
Let me know if you looking for fixing it on your store.
To implement this solution, you’ll need to:
The steps above will add the the option to add a feature image to pages.
{% comment %}
{%- when 'page' -%}
###
{{ item.title | truncate: 50 | escape }}
{{- 'templates.search.page' | t -}}
{% endcomment %}
{%- when 'page' -%}
{% if item.metafields.custom.featured_image %}
{%- assign image = item.metafields.custom.featured_image -%}
{% endif %}
###
{{ item.title | truncate: 50 | escape }}
{{- 'templates.search.page' | t -}}
{% if item.metafields.custom.featured_image %}
###
{{ item.title | truncate: 50 | escape }}
{{- 'templates.search.page' | t -}}
{% endif %}
Let me know if that works for you.