Page template without navigation

Artesands
New Member
1 0 0

HI

 

How do I create a page template that does NOT have the navigation, footer or header and only contains the logo.

 

Thanks for your help here!

Reply 1 (1)
Bang_T_
Shopify Partner
8 2 3

Hi @Artesands 

you can create something like that example below

1. create layout: layout/theme.page.links.liquid

 

Bang_T__0-1637200997556.png

in this file, remove other code in body tag but keep this code:

{{ content_for_layout }}

Bang_T__1-1637201049017.png

2. create the file templates/page.links.liquid

just need this code

Bang_T__2-1637201172408.png

{% layout 'theme.page.links' %}
{% section 'page-links' %}

 

3. in file sections/page-links.liquid you can add what you want

 

Bang T.
Shopify Lover