Different font between words | Community
Skip to main content
James_Zolinski
New Participant
December 13, 2018
Solved

Different font between words

  • December 13, 2018
  • 2 replies
  • 5505 views

An email template of ours seems to have 2 different fonts. At the bottom of the email template is a grey box with a link for leads to visit an email preference center or just unsubscribe. It looks like "preference" and "unsubscribe" are 2 different fonts or sizes. I've tried to fix this but am not sure what needs to be fixed. Can someone help me with how to fix the fonts so "preference" and "unsubscribe" are the same font.

Also, it looks like the line under "unsubscribe" is longer than the word, how can I fix the line so it is only as long as the word

Here is the link to the email:

Login | Marketo

Best answer by Sabuhi_Yahyayev

@James Zolinski There are some issues with inline styles here. This should fix it.

<p style="-moz-hyphens: none; -ms-hyphens: none; -webkit-hyphens: none; margin: 0; color: #ffffff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; padding: 0; text-align: center; word-break: keep-all;" class="footer">

Want to change how you receive these emails? You can update your <a style="color: #ffffff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; padding: 0px; text-decoration: underline;" href="go.prepass.com/communication-preferences.html" target="_blank">preferences</a> or <a href="{{system.unsubscribeLink}}" target="_blank" style="color: #ffffff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; text-decoration: underline;">unsubscribe </a>from this list.

</p>

2 replies

Sabuhi_Yahyayev
New Participant
December 13, 2018

As Christine Librojo noted, please share a screenshot or copy-paste HTML code here for us to review.

Sabuhi_Yahyayev
Sabuhi_YahyayevAccepted solution
New Participant
December 13, 2018

@James Zolinski There are some issues with inline styles here. This should fix it.

<p style="-moz-hyphens: none; -ms-hyphens: none; -webkit-hyphens: none; margin: 0; color: #ffffff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; padding: 0; text-align: center; word-break: keep-all;" class="footer">

Want to change how you receive these emails? You can update your <a style="color: #ffffff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; padding: 0px; text-decoration: underline;" href="go.prepass.com/communication-preferences.html" target="_blank">preferences</a> or <a href="{{system.unsubscribeLink}}" target="_blank" style="color: #ffffff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; text-decoration: underline;">unsubscribe </a>from this list.

</p>

James_Zolinski
New Participant
December 13, 2018

Thanks Sabuhi, if I understand correctly, I should remove arial mt, arial and sans serif and replace with only verdana? And that should fix the problem?

Christine_Libro
New Participant
December 13, 2018

Can you share a screenshot instead? I think the link is asking us to log into your instance - which we can't do.

Also - you could try opening up a support ticket to see if they could help you troubleshoot. But I can maybe help, with my non-coding eyes

James_Zolinski
New Participant
December 13, 2018

Thank you Christine for responding, here is the web version of the email:

go.prepass.com/index.php/email/emailWebview?mkt_tok=eyJpIjoiTkdWa00yTXpaVGxrWTJKaiIsInQiOiJjK010WGRZMUFqQisxNjcyT…

If not, here is the screen shot, but wasn't sure if you would be able to help with out looking at the code

I've also include the html that I believe belongs to section:

<div class="mktoText" id="footer-legal" mktoname="Footer - Legal">

                                                <p style="-moz-hyphens: none; -ms-hyphens: none; -webkit-hyphens: none; margin: 0; margin-bottom: 0; color: #fff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; padding: 0; text-align: center; text-decoration: none; word-break: keep-all;" class="footer"><i>Copyright © 2018 HELP Inc., All rights reserved.</i></p>

                                                <table class="spacer" style="border-collapse: collapse; border-spacing: 0; padding: 0; text-align: left; vertical-align: top; width: 100%;">

                                                  <tbody>

                                                    <tr style="padding: 0; text-align: left; vertical-align: top;">

                                                      <td height="40px" style="margin: 0px; color: #0a0a0a; font-family: 'Arial MT', Arial, sans-serif; font-size: 40px; font-weight: 400; line-height: 40px; padding: 0px; text-align: center; vertical-align: top; overflow-wrap: break-word; border-collapse: collapse !important;"><span style="color: #ffffff;"> <span style="font-size: 16px;">Not subscribed to this newsletter? <a href="go.prepass.com/NL-Newsletter-Opt-In_LP-Form-Sign-Up.html" target="_blank" color:="" ffffff=""><span style="color: #ffffff;">Subscribe now</span>.</a></span></span></td>

                                                    </tr>

                                                  </tbody>

                                                </table>

                                                <p style="-moz-hyphens: none; -ms-hyphens: none; -webkit-hyphens: none; margin: 0; margin-bottom: 0; color: #fff; font-family: Verdana; font-size: 14px; font-weight: 400; hyphens: none; line-height: 1.3; padding: 0; text-align: center; text-decoration: none; word-break: keep-all;" class="footer"><span style="color: #ffffff;">Want to change how you receive these emails? You can update your <a style="margin: 0px; color: #ffffff; font-family: 'Arial MT', Arial, sans-serif; font-weight: 400; line-height: 1.3; padding: 0px; text-align: left; text-decoration: underline;" href="go.prepass.com/communication-preferences.html" target="_blank">preferences</a> or <a href="go.prepass.com/UnsubscribePage.html?mkt_unsubscribe=1&mkt_tok=eyJpIjoiTTJKa1pqWXpZV0kyTWpNeiIsInQiOiJtWVB1U25LWklKdHU5c21wUlYwUXFtZFdseEhrdzNLVWZtS2dMTDJFeG1CSzdYSGR1b1lwTXpmdXpYTExOTkdWTVpLSUpqMWxMV2VtWERkR0JZL2ZIb0ZkQm5CMTZ1Mm1oamJJMkZIVDNKMEx5R1BPUXNIU1liZU9TY2VQcytNUCJ9" target="_blank" style="color: #ffffff;">unsubscribe </a>from this list</span>.</p>

                                              </div>

                                              <table class="spacer" style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">

                                                <tbody>

                                                  <tr style="padding:0;text-align:left;vertical-align:top">

                                                    <td height="75px" style="-moz-hyphens:auto;-webkit-hyphens:auto;Margin:0;border-collapse:collapse!important;color:#0a0a0a;font-family:'Arial MT',Arial,sans-serif;font-size:75px;font-weight:400;hyphens:auto;line-height:75px;margin:0;mso-line-height-rule:exactly;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"> </td>

Christine_Libro
New Participant
December 13, 2018

Thanks!

Remove the extra space after unsubscribe *inside the bracket* to get rid of the extra-long line. Add the space before "from this list" to keep the spacing between words. Anything inside the <a></a> brackets will have the underline.

For some reason your font family changed. I highlighted where I see a difference. In the code lines above, you have font-family: 'Arial MT', Arial, sans-serif.... so change the Verdana to the Arial MT font and you should be good!