NEWSLETTER
{%- style -%}
#shopify-section-{{ section.id }} {
--section-padding-top: {{ section.settings.padding_top }}px;
--section-padding-bottom: {{ section.settings.padding_bottom }}px;
--gradient-background: {% if section.settings.gradient_background != blank %}{{ section.settings.gradient_background }}{% else %}{{ section.settings.colors_background }}{% endif %};
--color-background: {{ section.settings.colors_background.red }}, {{ section.settings.colors_background.green }}, {{ section.settings.colors_background.blue }};
--color-foreground: {{ section.settings.colors_text.red }}, {{ section.settings.colors_text.green }}, {{ section.settings.colors_text.blue }};
--color-border: {{ section.settings.colors_border.red }}, {{ section.settings.colors_border.green }}, {{ section.settings.colors_border.blue }};
--color-heading: var(--color-foreground);
--color-link: var(--color-foreground);
}
{%-endstyle -%}
{{ 'section-newsletter.css' | asset_url | stylesheet_tag }}
{%- unless section.settings.full_width %}
{% schema %}
{
"name": "t:sections.newsletter.name",
"tag": "section",
"class": "section",
"settings": [
{
"type": "select",
"id": "text_alignment",
"options": [
{
"value": "left",
"label": "t:sections.all.text_alignment.options__1.label"
},
{
"value": "center",
"label": "t:sections.all.text_alignment.options__2.label"
},
{
"value": "right",
"label": "t:sections.all.text_alignment.options__3.label"
}
],
"default": "left",
"label": "t:sections.all.text_alignment.label"
},
{
"type": "select",
"id": "mobile_text_alignment",
"options": [
{
"value": "left",
"label": "t:sections.all.mobile_layout.mobile_text_alignment.options__1
{% endunless -%}
{% endunless -%}
{%- unless section.settings.full_width %}