Help with logo module snippet for email custom template
resolver
Hi,
I'm creating a custom email module. I want to use the Logo module and I would like to modify the width in the parameters but I can't seem to figure it out
This is my attempt but doesn't work
{%
module "email_template_logo"
path="@hubspot/logo"
label="Logo"
image={
"width" : 100
}
%}
I hope someone can enlighten me with this issue. I don't want to create a new logo module every time a template uses a different size.
jun 29, 20238:00 AM - editado jun 29, 20238:01 AM
Especialista reconhecido(a) | Parceiro Elite
Help with logo module snippet for email custom template
resolver
You need to change image to img. However, this won't work unless you upload your own image. This module works by pulling in the logo (width, height, alt, and url included) from Settings > Pages > Branding and does not let you change those defaults unless you choose to override the inherited source using "override_inherited_src": true and add your own image.