How to edit a theme
- From your Shopify admin, go to Online Store > Themes.
- Find the theme that you want to edit, and then click Customize.
- Select the template that you want to edit from the Template drop-down menu (on center top bar).
- Click + Add section, and then select a new section for your template.
- Click the new section to view its settings and options.
- Make your changes to the section or the blocks within it.
- When you’re satisfied with your section, click Save.
How to translate a theme
- Install and activate Shopify Translate & Adapt.
- Go to Apps > Translate & Adapt.
- Click Section Groups to translate header and footer.
- Click Templates to translate pages.
- If you use Boost AI Search & Discovery, go to the app and click Tool > Translation. Change language from the dropdown and translate.
How to translate your liquid custom code
- First of all make sure that you add the code like this:
<button>{{ 'products.product.find_more' | t }} </button>
- Then open default.json and add the find more lectic
"products": { "product": { "find_more": "Find more" }
- Open the translation json and add the same lectic (with it’s translation).
- Now if you go to translate the theme, you will see your lectic there. If you change it and press save, it will also be changed in json.
Can I add a specific CSS for the translated store?
Yes you can by adding this CSS:
html[lang="it"] .myclass { ... }
How to add a Facebook pixel to your shopify store
- Go to Online Store > Preferences.
- On Facebook Pixel section, click the Setup Facebook button.
- Click Add Sales Channel on the bottom.
- Click Continue.
- Enter your Facebook password.
- Click Continue as (your facebook name).
- On the Connect Shopify to Facebook popup click Continue.
- Here fill all 4 selections with your facebook page (Business Manager, Facebook page, catalogue, facebook pixel).