wpexpertsio / wordpress-email-templates

Plugin to add html templates to wordpress
GNU General Public License v2.0
68 stars 22 forks source link

Gap under logo with default font size #43

Open AlecRust opened 2 years ago

AlecRust commented 2 years ago

On the Customize > Email Header page the header font size is set to a default value of 30px and the user can also add the “logo text”.

If you also add a logo image when the email is viewed in Gmail and probably other email clients there’s a 12px gap underneath the logo:

image

This gap is not there when viewed on the Customize page:

image

This looks to be due to the inline font-size: 30px set on the <h1> even though there is no text in this element only an image.

Please can you change this inline style to font-size: 0px when there is a logo image, which fixes the gap?