Skip to main content
The Newsletter Signup section allows you to capture email subscribers with beautiful forms, validation, and integration with your email marketing platform.

Overview

The Newsletter Signup section provides:
  • Email Capture Forms with validation
  • Multiple Layout Options including inline, modal, and popup
  • Integration Support for major email platforms
  • Customizable Design to match your brand
  • Responsive Design optimized for all devices
  • GDPR Compliance with consent options

Section Settings

Newsletter Form

<section class="newsletter-signup">
  <div class="container">
    <div class="newsletter-signup__content">
      {% if section.settings.title != blank %}
        <h2 class="newsletter-signup__title">{{ section.settings.title }}</h2>
      {% endif %}
      
      {% if section.settings.description != blank %}
        <div class="newsletter-signup__description">
          {{ section.settings.description }}
        </div>
      {% endif %}
      
      <form class="newsletter-signup__form" action="/contact#contact_form" method="post">
        <div class="newsletter-signup__input-group">
          <input type="email" 
                 name="contact[email]" 
                 placeholder="Enter your email"
                 class="newsletter-signup__input"
                 required>
          <button type="submit" class="newsletter-signup__submit">
            Subscribe
          </button>
        </div>
        
        {% if section.settings.show_consent %}
          <label class="newsletter-signup__consent">
            <input type="checkbox" name="consent" required>
            <span>I agree to receive marketing emails</span>
          </label>
        {% endif %}
      </form>
    </div>
  </div>
</section>

CSS Styling

.newsletter-signup {
  padding: 4rem 0;
  background: var(--color-primary);
  color: white;
}

.newsletter-signup__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-signup__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-signup__description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-signup__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-signup__input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-signup__input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
}

.newsletter-signup__submit {
  padding: 1rem 2rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.newsletter-signup__submit:hover {
  background: var(--color-accent-dark);
}

.newsletter-signup__consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
}