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 [email protected] 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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024