Where can I find the head tag in Pipeline?

Note:
Modifying the theme code will make it difficult to update your theme. Use this code at your own risk. Groupthought does not provide any warranty or further support for this code. The code provided is only a suggestion. Please work with a developer or  Shopify Expert to ensure proper customization. This code may not work with all versions of of Pipeline or with other code customizations and apps you may have installed. We strongly recommend that you make duplicate of your theme before adding or changing any code in your theme.

If you need to add code to the <head> tag area or before the closing </head> - Here's how to find it in Pipeline. This might be required when installing certain apps. 

How to:

Always make a duplicate of your theme before adding any code. This will save you if anything goes wrong or if you decide not to use the added code in the future. We can not support or be responsible of any code changes that you make to your theme. For that reason, save yourself and make a duplicate first.

Make a duplicate before any code changes:

Next, open the Code Editor:

From your list of themes, find the Actions link for the theme you'd like to edit. Then select Edit code. Example draft theme:

Example if you're working from your main live/published theme:

Quick link if the theme is live/published:
Open Code Editor

Open theme.liquid from the Layout folder

On the right-side of the Code Editor is the main HTML code:

The <head> section of the theme is located there. If you need to add your code just before the </head> tag

Use the Find feature in the right-side code area - Keyboard shortcut: Command-F on Mac or Control-F in Windows:

That will highlight in yellow and direct you to the line of code that you're searching for. 

To keep things clean, make a couple blank lines before the </head> tag and then paste your code in the blank area. 

Example:

Lastly, after adding your code, use the Save button on the top right. 

Still need help? Contact Us Contact Us