Hey ive got an online store and a blog but i want to remove the “back to blog” from the blog, because i only have one blog post so its very unnecessary and can get the customer lost. My domain is vesitekniikka.com, go to “Blogi” from the header and scroll down, its in finnish, i hope thats alright because its the same problem.
Also, i found an not so old conversation and there was a code but it didnt work.
Thanks in advance.
Hi @ronnie11 ,
Add this CSS code
Online Store > Themes > Edit code > Assets > custom.css or theme.css
.article-template__back { display: none; }
To remove the “Back to Blog” link from your blog page in the Craft theme, you can follow these steps:
- From your Shopify admin, go to “Online Store” and click on “Themes”.
- Locate your Craft theme and click on the “Actions” dropdown, then select “Edit code”.
- In the left-hand sidebar, under “Sections”, click on “blog-template.liquid” to open the file.
- Search for the code that generates the “Back to Blog” link. It may look something like this:
{{ 'blog.back_to_blog' | t }}
Hi, i dont find any “custom.css” or “theme.css” in assets.
Hi, im using Dawn theme not Craft theme
Hi, I found the solution for DAWN THEME 12
-
Open the main-article.liquid file (in the edit code section)
-
Near the line 88, you will see this code :
-
delete it, or put %comment on these lines
-
After, it should be like that :
{% comment %}
{% endcomment %}
And no more “back to blog”
2 Likes
I had the same problem and your solution worked. Thanks!