Shopify themes, liquid, logos, and UX
Hi guys,
I'm using Minimal theme. On my Home Page I have a collections list, and each of the collection links has its own, automatically generated link title. We can see this title in the hover text and in the page source code.
Understand it's generated from the file collection-grid-item.liquid, and looks like this (in blue):
<a href="{{ collections[featured].url}}" title="{{'collections.general.link_title' | t: title: collection_title }}" class="grid-link{% if settings.collections_center_grid_link %} text-center{% endif %}">
Though in the page source and hover text the title is not just a collection title, but a phrase "Browse our .... collection".
Is there a way to amend the code so it displays just the collection name, or at least the collection name goes first?
Thanks very much!
Solved! Go to the solution
This is an accepted solution.
Hi @realina
You just need to replace below code
{{ 'collections.general.link_title' | t: title: collection_title }}
to
{{ collection_title }}
I hope this will solve your issue and it will show the correct Collection Title.
This is an accepted solution.
Hi @realina
You just need to replace below code
{{ 'collections.general.link_title' | t: title: collection_title }}
to
{{ collection_title }}
I hope this will solve your issue and it will show the correct Collection Title.
User | RANK |
---|---|
178 | |
147 | |
81 | |
67 | |
56 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023