Why isn't my account icon functioning in Printella theme?

vadmore
Visitor
2 0 0

Guys, I do have customer accounts enabled in Shopify settings, also it’s enabled in the theme settings. The customer account button shows up in the header, but when I click it - nothing happens. Header liquid file seems ok. Don’t really understand what’s wrong. Anyone? The theme is Printella

The site is here - printsol.lv

 

I appreciate your help 



Replies 2 (2)

LuffyOnePiece
Shopify Partner
386 63 63

Hi @vadmore 

The link for the account page is not added to the account icon.
Add href="/account" to the <a> tag.

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
vadmore
Visitor
2 0 0

Hi

the header.liquid part for the icons is as folows -

{% if shop.customer_accounts_enabled and section.settings.show_account %}
  <div class="dt-sc-header-toggle">
    <a class="user-group dt-sc-toggle"> {% render 'icon-login' %}</a>
    <ul class="dt-sc-toggle-content">    
      {% if customer %}
      <li><a href="{{ routes.account_url}}" class="site-header__icon site-header__account">     
        {{ 'layout.customer.account' | t }}
        </a>
      </li>
      <li><a href="{{ routes.account_logout_url }}"  class="site-header__icon site-header__account">      
        {{ 'layout.customer.log_out' | t }}
        </a>
      </li>
      {% else %}
      <li> <a href="{{ routes.account_login_url }}" class="site-header__icon site-header__account">      
        {{ 'layout.customer.log_in' | t }}
        </a>
      </li>
      <li> <a href="{{ routes.account_register_url }}" class="site-header__icon site-header__account">      
        {{ 'layout.customer.create_account' | t }}
        </a>
      </li>
      {% endif %}