Hi there,
I am trying to add some space above the checkbox in my ‘creating an account form’ (see screenshot and link below).
https://77af35.myshopify.com/account/register
the line with the checkbox and the Subscribe text is too close to the password field.
I am pasting below the code in the main-register.liquid that generate that page. Let me know what you think, thanks.
{{ ‘customer.css’ | asset_url | stylesheet_tag }}
{%- style -%}
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
}
@media screen and (min-width: 750px) {
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top }}px;
padding-bottom: {{ section.settings.padding_bottom }}px;
}
}
{%- endstyle -%}
{{ 'customer.register.title' | t }}
{%- form 'create_customer', novalidate: 'novalidate' -%} {%- if form.errors -%}{{ 'templates.contact.form.error_heading' | t }}
-
{%- for field in form.errors -%}
- {%- if field == 'form' -%} {{ form.errors.messages[field] }} {%- else -%} {{ form.errors.translated_fields[field] | capitalize }} {{ form.errors.messages[field] }} {%- endif -%} {%- endfor -%}
Subscribe to our newsletter
{% schema %}
{
“name”: “t:sections.main-register.name”,
“settings”: [
{
“type”: “header”,
“content”: “t:sections.all.padding.section_padding_heading”
},
{
“type”: “range”,
“id”: “padding_top”,
“min”: 0,
“max”: 100,
“step”: 4,
“unit”: “px”,
“label”: “t:sections.all.padding.padding_top”,
“default”: 36
},
{
“type”: “range”,
“id”: “padding_bottom”,
“min”: 0,
“max”: 100,
“step”: 4,
“unit”: “px”,
“label”: “t:sections.all.padding.padding_bottom”,
“default”: 36
}
]
}
{% endschema %}
