Page template without navigation

Artesands
Visitor
1 0 1

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
16 2 7

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

 

If helpful then please Like and Accept Solution.
Provide me a coffee if you wish.
Hire me for custom or add more features to your shopify store at johnnybang.wd@gmail.com if you like.