Walled garden landing pages

New Member
1 0 0

Is there a way in the Minimal theme to remove the company logo's link to the homepage? I want to test out some new product concepts, but I don't want those pages to offer any link to the homepage or main catalogue.

Reply 1 (1)
Shopify Partner
3404 224 651

You need to find the logo code and put condition around it to ignore certain pages by whatever convention you use.

Similar posts for find the relevant spot in code:



After you find the logo you would wrap it with something like one of the following

{%- unless product.tags contains '_no-header-logo-link' %}
{%- comment -%}... logo code{%- endcomment -%}
{%- endunless -%}

{%- comment -%} Using alternative template named product.landing.liquid{%- endcomment -%}
{%- unless template.suffix == 'landing' %}
{%- comment -%}... logo code{%- endcomment -%}
{%- endunless -%}

The starting _underscore is in case you need to customize your theme further to try and prevent certain tags from showing to customer in tag filters, examples on the forums.


The above could also be instead wrappedaround CSS that hides the logo visually, such as in this post



To have no exits or excess use such as for bringing in full html from a page designer use {% layout none %} at the top of an alternate template applied to that template



Though that means no theme.liquid so no header elements no app script injection etc.



Merchants that need to buy this customization can contact me at paull.newton+shopifyforums@gmail.com with topic url, and store url.

Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org

Problem Solved? ✔Accept and Like solutions to help future merchants

Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com