New customer accounts not showing on mobile?

Hey everyone,

Personally, I love the new customer accounts on Shopify. Makes things 10x easier, and customers don’t have to sign up for an account with a password. So this works perfectly on desktop for me, but on mobile, when the header switches to a hamburger menu, it still shows the old customer account login/register.

I have this bit of code (mega-menu-customer.liquid), and I’m 99.9% sure I need to change something here, but everything I try get’s me an error (I’m not much of a coder). Could anyone please help? My theme developer wasn’t very helpful and just said “we’ll keep it in mind for the next update”.

{% if shop.customer_accounts_enabled or shop.customer_accounts_optional %}
        
            
{{ 'customer.account.title' | t }}

            {% if customer %}
                
                    

                        
                        {{ customer.first_name }}
                    

                
                
            {% else %}
                
                
                {% render 'customer-section' %}
            {% endif %}

Thank you all so much.