Brooklyn theme - Adding newsletter sign up to the footer

Hello,

Does anyone know how to put the newsletter sign up to the footer menu?
This is how I would want it to look like.

If anyone knows, I would be happy to know. I’m using Brooklyn theme.
Thank you!

For this. I have to enter into your store. Please DM me your store email and password for store login

1 Like

Anyone?

You can try copying the code that displays the newsletter subscribe from the newsletter.liquid file and pasting it into the footer.liquid file and then style your footer to match what you want.

Take this code from the newsletter.liquid file in the sections folder

{% form 'customer' %}
      {{ form.errors | default_errors }}
      {% if form.posted_successfully? %}
        
          
{{ 'general.newsletter_form.newsletter_confirmation' | t }}

        

      {% else %}
        
        
        

          

            
            
              
            
          

        

      {% endif %}
    {% endform %}

And paste it into the footer.liquid file in the sections folder, maybe just before this line: (it won’t look exactly like you want but it could be a starting point)


© {{ 'now' | date: '%Y' }}, {{ shop.name | link_to: routes.root_url }}
{{ powered_by_link }}

1 Like

It worked! Thank you so so much, I can’t thank you enough!

Also is there any way I can edit the ‘your email’ text? Or do I have to do this before I paste the code in the footer.liquid?

That’s the placeholder field in the code above. Where it says:

placeholder=“{{ ‘general.newsletter_form.newsletter_placeholder’ | t }}”

You can change it directly here like this:

placeholder=“Enter your email address”

with the text you want.

Or you can set the value in your Theme settings.

Under ActionsEdit Languages.

Under the General tab look for the Newsletter form and change the Newsletter placeholder text there.

@Alan15 Thanks so much this also worked! You are a hero!

1 Like

Yes, I would also appreciate if someone could guide how to move the subscribe newsletter to the left of payment logos in footer.

Many thanks!