Difference between revisions of "Creating a custom landing page"

From Spiffy Stores Knowledge Base

(Created page with "NOTE: This information is provided for web developers who have designed a custom landing page for a store. The information provided should not be attempted unless you are co...")
 
Line 3: Line 3:
 
The layout tag allows you to override the standard theme.liquid layout used in your theme, and use one of your own layouts instead.  This tutorial shows you how to create a custom landing page.
 
The layout tag allows you to override the standard theme.liquid layout used in your theme, and use one of your own layouts instead.  This tutorial shows you how to create a custom landing page.
  
1.  Create a new page in the "Pages & blogs" section of your store's Toolbox. Take note of the handle of the page after you have created it.  The page can have text in it that you use, or not.  It depends on whether you want to make the content editable.
+
# Create a new page in the "Pages & blogs" section of your store's Toolbox. Take note of the handle of the page after you have created it.  The page can have text in it that you use, or not.  It depends on whether you want to make the content editable.<br><br>
 
+
# Create a layout and upload it to the "layout" folder using Webdav.<br><br>
2.  Create a layout and upload it to the "layout" folder using Webdav.
+
# Edit your page.liquid file, and enter the following line at the top;<br><pre>hello</pre>
 
 
3.  Edit your page.liquid file, and enter the following line at the top;<br><pre>hello</pre>
 

Revision as of 13:51, 7 March 2014

NOTE: This information is provided for web developers who have designed a custom landing page for a store. The information provided should not be attempted unless you are comfortable using HTML and CSS, and have a working knowledge of liquid.

The layout tag allows you to override the standard theme.liquid layout used in your theme, and use one of your own layouts instead. This tutorial shows you how to create a custom landing page.

  1. Create a new page in the "Pages & blogs" section of your store's Toolbox. Take note of the handle of the page after you have created it. The page can have text in it that you use, or not. It depends on whether you want to make the content editable.

  2. Create a layout and upload it to the "layout" folder using Webdav.

  3. Edit your page.liquid file, and enter the following line at the top;
    hello