SOLVED

Re: link font-family issue

Go to solution
Eric_Salamon1
Level 6

link font-family issue

In short I have a link and I put in the inline text. For some strange resion the font family is not changing. (the rest of the document works properly but the link does not) I will put the code below please let me know if you have any advise?

<a class="mktEditable" id="registration_link" href="http://www.google.com" style="font-family: Helvetica Neue; font-size:18px; font-weight:bold; color:#0066cb; line-height:16px;">other</a>
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: link font-family issue

You need to put single quotes around that to deal with the space; also make sure your computer has Helvetica Neue installed. Here is some better code:

<a class="mktEditable" id="registration_link" href="http://www.google.com" style="font-family: 'Helvetica Neue', sans-serif; font-size:18px; font-weight:bold; color:#0066cb; line-height:16px;">other</a>

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Re: link font-family issue

You need to put single quotes around that to deal with the space; also make sure your computer has Helvetica Neue installed. Here is some better code:

<a class="mktEditable" id="registration_link" href="http://www.google.com" style="font-family: 'Helvetica Neue', sans-serif; font-size:18px; font-weight:bold; color:#0066cb; line-height:16px;">other</a>
Eric_Salamon1
Level 6

Re: link font-family issue

Thanks for your response! The thing is I have the same code thruout the entire page and only the link doesnt work. Do you really think that it is just the space between Helvetica Neue that is causing the problem?
Anonymous
Not applicable

Re: link font-family issue

Maybe not...that was my first inclination: http://stackoverflow.com/questions/7638775/do-i-need-to-wrap-quotes-around-font-family-names-in-css

You may have a conflicting declaration somewhere (maybe in Marketo's default styles). Try this and see if it changes:

<a class="mktEditable" id="registration_link" href="http://www.google.com" style="font-family: 'Helvetica Neue', sans-serif !important; font-size:18px; font-weight:bold; color:#0066cb; line-height:16px;">other</a>
Eric_Salamon1
Level 6

Re: link font-family issue

unfortunately it didn't work.
Anonymous
Not applicable

Re: link font-family issue

Hmm..can you share the page where this lives so i can debug in the browser?