need help with html font - different...

User 1982097 Photo


Registered User
54 posts

If I create an HTML element, what do I need to do to make the font of the text match the font of the rest of the doc? See attached, the "Hi <<&firstname>>," is a different font than the rest.
Attachments:
I love coffee in cups
User 187934 Photo


Senior Advisor
18,023 posts

Hi Telimon,
Can you share your RED file?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 1982097 Photo


Registered User
54 posts

Sure! What's the best way to share? Export it?
I love coffee in cups
User 122279 Photo


Senior Advisor
11,228 posts
Online Now

If the .red file isn't too big, zip it up and post it here. Otherwise you can pop it into your dropbox and let us have the url.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RSD, RFF and RBB: http://www.horgenhonning.net/sharing/


User 1982097 Photo


Registered User
54 posts

Zip should be attached :)
Attachments:
I love coffee in cups
User 2319362 Photo


Registered User
13 posts

Hi. The rest of your text is styled to be in the Arial font. You'll have to do this manually in the HTML element, but it's not too complex. Something like this should work:

<p style="font-family:Arial, sans-serif">Hi <<&firstname>>,</p>


Another option is to look at the exported markup for your other paragraphs, and wrap your HTML element's text in that same markup. That would look like this:

<p style="color:#222222;font-weight:normal;padding:0px;text-align:left;font-size:14px;margin:0px 0px 1.35em;text-size-adjust:none;line-height:1.7;mso-font-alt: &quot;Helvetica Neue&quot;;font-family:Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif;">Hi <<&firstname>>,</p>


I've done that second one, and saved the RED file again. You'll find it attached.
Attachments:
User 1982097 Photo


Registered User
54 posts

Thanks so much, Nestor! It worked!
I love coffee in cups

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.