This is one way to remove Account/Profile/Person button from header in debut:

Explorer
68 0 4

I had trouble finding the answer to this but figured it out myself after trying other suggestions. You're just commenting out the code in header.liquid. Go to your header.liquid, wrap this in a comment:

 

{% comment %}          
          {% if shop.customer_accounts_enabled %}
            {% if customer %}
              <a href="{{ routes.account_url }}" class="site-header__icon site-header__account">
                {% include 'icon-login' %}
                <span class="icon__fallback-text">{{ 'layout.customer.account' | t }}</span>
              </a>
            {% else %}
              <a href="{{ routes.account_login_url }}" class="site-header__icon site-header__account">
                {% include 'icon-login' %}
                <span class="icon__fallback-text">{{ 'layout.customer.log_in' | t }}</span>
              </a>
            {% endif %}
          {% endif %}
{% endcomment %}

PS

You can also hide your cart, search, etc. by finding that code in header.liquid and commenting it out.

0 Likes