Shopify themes, liquid, logos, and UX
I have following error shown on top of my website. dont know what caused and how to get rid of it:
Liquid error (layout/theme line 61): Could not find asset snippets/content_for_header.liquid
Always backup themes and files before making changes.
If you need this fixed for you then contact me by mail for services, Contact info in signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail.
Go to your theme.liquid in your code editor and around line 61 there will be something like the following {% render 'content_for_header' %} comment it out {% comment %}{% render 'content_for_header' %}{% endcomment %} or just remove the line.
Optionallly replace with the following {{ content_for_header }} to renable other apps and shopify injected functionality.
If you recently customized your theme, or used an app such as "performance" or "speed" app or uninstalled such an app they probably removed that file from the theme but didn't not clean up references to it.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hello @Hraz 👋
Inside Shopify Admin, you can go to Edit theme code, open file theme.liquid, find this code
{% include 'content_for_header' %}
and replace with this code
{{ content_for_header }}
Hope that helps!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025