How to center the brand logo on all email notification templates?

Hi, I’m currently reviewing all email notification templates on Shopify. While the “Welcome to Subscription” email template does show my brand logo at the center, but all other email templates e.g. order confirmation, the logo is showing on the left hand side. Could someone please let me know how can I move the logo to the center? many thanks!

Hi @Tiff2 ,

Unfortunately, you have to edit every notification. Please follow the instructions below.

  1. Go to the email template you want to edit

  2. Find the shop-name__text

  3. Add the code below next to <a tag

style="text-align: center; display: block"

Refer to email below for placement

1 Like

Thanks a lot! for the prompt response. But for some reasons it is still not working… here is the extract of the codes

{%- if shop.email_logo_url %}
{{ shop.name }}
{%- else %}

{{ shop.name }}

{%- endif %}

Hi @Tiff2 ,

Which email notification is this?

Hi @Tiff2 ,

Sorry my bad. I was centering the Logo text instead. Please use the code below on the <img tag instead

Find the shop-name__cell, then the <img

style="margin: auto; display: block;"

Please refer to image below.

5 Likes

Brilliant! Thanks so much for your help! It works now :slightly_smiling_face:

Have a good day!

1 Like