N
Novu15mo ago
Erez

Adding links to an email

How can I add a text link instead of using a button. example - <a href="https://google.com" >Google</a>
13 Replies
Novu_Bot
Novu_Bot15mo ago
@Erez, you just advanced to level 1!
Pawan Jain
Pawan Jain15mo ago
Hi @Erez Is this not working for you? <a href="https://google.com/" >Google</a>
Erez
ErezOP15mo ago
I see it as just text in the preview I am using the regular editor
Pawan Jain
Pawan Jain15mo ago
If you are using regular editor then you can use triple curly braces variable like this {{{variable_name}}} and send it value in paylod as below
{
payload: {
"variable_name" : "<a href="https://google.com/" >Google</a>"
}
}
{
payload: {
"variable_name" : "<a href="https://google.com/" >Google</a>"
}
}
Pawan Jain
Pawan Jain15mo ago
No description
No description
Erez
ErezOP15mo ago
@Pawan Jain I got it to work thanks. How can I change the font color of the link which is currently some kind of red?
Pawan Jain
Pawan Jain15mo ago
you can add <a> tag related styles in layout for this
Erez
ErezOP15mo ago
Can you show me an example? I figured it out. thanks.
Erez
ErezOP15mo ago
@Pawan Jain If someone opens the email on a dark theme provider is there a solution for the logo?
No description
Tomer Barnea
Tomer Barnea15mo ago
@Pawan Jain can you help us here?
Pawan Jain
Pawan Jain15mo ago
Looking into this Since we allow to keep only one branding image, so it is not possible to have light-dark mode support
Linear
Linear15mo ago
Issue NV-3047 created.
NV-3047 - light and dark mode logo option in branding section
Have two separate images upload option. one for dark mode and other for light mode. and update the default layout html to support both modes
Status
Triage
Novu
Pawan Jain
Pawan Jain15mo ago
@Erez I have created an internal ticket for this to check feasibility. I will keep you posted once we add this feature.
Want results from more Discord servers?
Add your server