Setting up a new footer for a custom page

inthebox
New Member
2 0 0

hello all

i am trying to setup a custom footer that is specific only when i am using a customtemplate.liquid 

the issue is

i have managed to get a custom template assigned to the page but

i am not able to remove the standard footer from customtemplate.liquid and now i have 2 footers

below is the code, l would appreciate any thoughts on this

{%- include 'header2' -%}
{%- if settings.breadcrumb_pg -%}{%- include 'breadcrumb' -%}{%- else -%}<div class="topSpace"></div>{%- endif -%}
{%- section 'custom-template1' -%}
{%- section 'b2bfooter' -%}

 

0 Likes
g33kgirl
Shopify Partner
271 73 87

Hi @inthebox, you can add a condition in theme.liquid file that if page = customtemplate.liquid, it should not show the standard footer. 

EDIT: This is not an accurate syntax. This is just to give you an idea on how you can hide/show the standard footer.

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.
inthebox
New Member
2 0 0

thanks

anyone else, who can suggest the syntax for the above?

0 Likes