Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gap under logo with default font size #43

Open
AlecRust opened this issue Jan 3, 2022 · 0 comments
Open

Gap under logo with default font size #43

AlecRust opened this issue Jan 3, 2022 · 0 comments

Comments

@AlecRust
Copy link

AlecRust commented Jan 3, 2022

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?

AlecRust added a commit to AlecRust/wordpress-email-templates that referenced this issue Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant