Hi,
I am having an issue centering the text shown on the account log in page for the forgot password link.
I have checked the coding but am I missing something
{{ 'customer.login.title' | t }}
{% form ‘customer_login’, novalidate: ‘novalidate’ %}
{%- if form.errors -%}
{{ 'contact.form.error_heading' | t }}
{{ form.errors | default_errors }}{{ ‘customer.login.email’ | t }}
<input
type=“email”
name=“customer[email]”
id=“CustomerEmail”
autocomplete=“email”
autocorrect=“off”
autocapitalize=“off”
{%- if form.errors contains ‘form’ -%}
class=“input–error”
aria-invalid=“true”
{%- endif -%}
{% if form.password_needed %}
{{ ‘customer.login.password’ | t }}
<input
type=“password”
value=“”
name=“customer[password]”
id=“CustomerPassword”
{%- if form.errors contains ‘form’ -%}
class=“input–error”
aria-invalid=“true”
{%- endif -%}
{% endif %}
{{ 'customer.login.forgot_password' | t }}
{% endif %}{{ 'layout.customer.create_account' | t | customer_register_link }}
{{ 'customer.recover_password.title' | t }}
{{ 'customer.recover_password.subtext' | t }}
{{ ‘customer.recover_password.email’ | t }}
<input
type=“email”
value=“”
name=“email”
id=“RecoverEmail”
class=“input-full{% if form.errors %} input–error{% endif %}”
autocorrect=“off”
autocapitalize=“off”
{% if form.errors %}
aria-invalid=“true”
aria-describedby=“RecoverEmail-email-error”
{%- endif -%}
{%- if form.errors -%}
{{ ‘general.accessibility.error’ | t }}
{% include ‘icon-error’ %}
{{ form.errors.messages.form }}
{%- endif -%}
{% comment %}
If accounts are set as optional, the following will be shown as an option
during checkout, not on the default /login page.
{% endcomment %}
{% if shop.checkout.guest_login %}
{{ 'customer.login.guest_title' | t }}
{% form ‘guest_login’ %}
{% endform %}
Any help would be appreciated. Thanks,
James
