Latest Theme Tips
View all Theme Tips articles-
How to Add the Reading Time to Your Shopify Store's Blog Posts
Internet users these days have very little patience and a short attention span. Let visitors of your store's blog know how much time they'll need to invest into reading your articles with this handy Liquid code snippet.
1 commentHow to Add the Reading Time to Your Shopify Store's Blog Posts
Internet users these days have very little patience and a short attention span. Let visitors of your store's blog know how much time they'll need to invest into reading your articles with this handy Liquid code snippet.
1 comment -
How to Add Great-Looking Favicons to Your Shopify Store
Learn how to go beyond Shopify's default favicon and provide optimized favicons for all major browsers and devices.
How to Add Great-Looking Favicons to Your Shopify Store
Learn how to go beyond Shopify's default favicon and provide optimized favicons for all major browsers and devices.
-
Center Dawn's navigation menu
Dawn's options for the layout of the header can be a bit limited. Find out how to add the option for a centered navigation menu.
Center Dawn's navigation menu
Dawn's options for the layout of the header can be a bit limited. Find out how to add the option for a centered navigation menu.
-
How to add an SVG logo to Dawn
Shopify's theme customizer only supports the PNG, JPG and GIF image formats. Find out how to upload your shop's logo as a resolution-independent SVG.
How to add an SVG logo to Dawn
Shopify's theme customizer only supports the PNG, JPG and GIF image formats. Find out how to upload your shop's logo as a resolution-independent SVG.
Latest Code Tips
-
Remove the last character of a string with Liquid
Sometimes, when manipulating a string or receiving a string from some variable or function, you want to get rid of the string's last character. There might be a period there, or a slash, or some other remnant of a previous operation. In any case, you want to get rid of...
Remove the last character of a string with Liquid
Sometimes, when manipulating a string or receiving a string from some variable or function, you want to get rid of the string's last character. There might be a period there, or a slash, or some other remnant of a previous operation. In any case, you want to get rid of...
-
Use Liquid to count the number of words in a string
Liquid doesn't come with a way to count how many words a given string contains. But there's a fairly easy way to determine that number with some clever use of Liquid filters. Assume you want to show how many words a blog post has. You would take the content of...
Use Liquid to count the number of words in a string
Liquid doesn't come with a way to count how many words a given string contains. But there's a fairly easy way to determine that number with some clever use of Liquid filters. Assume you want to show how many words a blog post has. You would take the content of...
-
Using singular and plural forms in theme locale files
That themes can be translated into any language is probably a well-known fact. What's less well-known is that you can set up your translations so that singular and plural word forms are automatically used appropriately. For example, say you have a block on your product detail page where it says...
Using singular and plural forms in theme locale files
That themes can be translated into any language is probably a well-known fact. What's less well-known is that you can set up your translations so that singular and plural word forms are automatically used appropriately. For example, say you have a block on your product detail page where it says...