Problem/Motivation
HTML emails on The Rightup sites take the logo from the default theme, which is logo.svg. Many email clients cannot show SVG images, including Outlook for Windows and Gmail webmail, so those readers see no logo.
The theme also ships logo.png, but it is 476×283, so an email would show it at several times the header size.
Steps to reproduce
- Install Varbase 11.0.x-dev with The Rightup 1.0.x-dev.
- Send any HTML email (for example a password reset) and open it in Outlook for Windows or Gmail webmail.
- The header has no logo.
Proposed resolution
Add logo-email.png: logo.svg as a 123×73 PNG, the size the site header shows the logo at (7.675rem wide). The Easy Email Theme template sets no width on the logo, so a larger image would show at its full pixel size. The README says what the file is for. Same approach as Varbase Theme - Bootstrap 5 in #3637288.
The Rightup then points the email logo at it (see Related issues), so this should be released first.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ❌ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ❌ Developer Documentation support
- ➖ User Guide Documentation support
- ❌ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ✅ Update Release Notes
- ✅ Release
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Added
logo-email.png, a PNG logo for HTML emails.
AI-Generated: Yes
Issue fork vartheme_bs5_rightup-3637902
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajab natshahComment #5
rajab natshah✅ Released in vartheme_bs5_rightup 1.0.9