The theme.liquid file

From Spiffy Stores Knowledge Base

Revision as of 09:28, 10 May 2017 by Shawn (talk | contribs) (Created page with "Your theme can be edited in the Theme Editor, which can be found in the '''''Design & Assets -> Theme Editor''''' section of your store's Toolbox. Your theme is a collectio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Your theme can be edited in the Theme Editor, which can be found in the Design & Assets -> Theme Editor section of your store's Toolbox.

Your theme is a collection of files that control the layout of your website. Each individual file has the extension .liquid and is known as a Liquid template because it contains code written in the Liquid template language. Besides Liquid code, you can use other languages in a Liquid template, including HTML, CSS, and JavaScript.

The theme.liquid file can be thought of as the master template; all other templates are rendered inside of theme.liquid. Any elements that are repeated in a theme (ex: site navigation, header, footer, etc.) should be placed inside your theme.liquid file.

To edit your theme.liquid file, go to your Theme Editor, scroll down to the Store Layout section and click on the theme.liquid file.