Can you prevent My Emma from adding automatically generated styles to links?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Here's the issue:

I've used the Template Builder to modify styles for my emails and assigned bold to some of my items.  However, whenever I add links, My Emma automatically adds a "font-weight: inherit;" style to all of my links.  

This is an issue as the automatically generated "font-weight: inherit;" overrides my bolded styles - but only for certain email clients and when the text looks perfect in My Emma, the previews, and most of our email clients, it's easy to miss.  While it's easy for me personally to delete the style from the text code view and fix it, that doesn't help the other editors who are very much "not tech savvy" and won't touch code.

So is there any way to prevent My Emma from automatically adding the "font-weight: inherit;" to every single link when the link already has an assigned font weight?  It's very frustrating.
Photo of K

K

  • 16 Posts
  • 4 Reply Likes

Posted 2 years ago

  • 0
  • 1
Photo of Grey Stepp

Grey Stepp, Support Team Manager

  • 1694 Posts
  • 135 Reply Likes
Hi there K, 

There isn't a way to turn off the "inherit" code that is generated when creating a link through the editor.  You can add in your links via the code view of a text box if you'd prefer, which would allow for you to control that.  

If you're having issues with styling not "sticking" when added in the editor, we typically recommend you create your links FIRST, then apply styling.  That typically helps.  

- Grey 
Photo of K

K

  • 16 Posts
  • 4 Reply Likes
Hi Grey,

Thank you for the answer, although that's very disappointing to read.

It makes it very difficult to create an "idiot proof" custom template when the My Emma editor overwrites parts of your code.

The problem comes from the fact that nearly all of the people who will be working with our template are not able to go into the code view and change things.  That is to say, they can physically click the code view text button, but the whole point of creating a custom template is so that they never need to, and quite frankly, we don't want to have to be constantly training and assisting them with it as they are not code people.

Yes, we know that creating the links first and then adding the styling does TYPICALLY work, yes.  However, it's the random times where it does not which create the issues and you don't find out about it until after it's gone out and it shows up in certain email viewers.  That's the biggest issue: it looks great in the My Emma editor, the preview, and the email viewers that our content creators use (so they think that everything is perfect), but when you look at the code, you can see that some of them have randomly switched their code layout and will display inconsistently compared to the rest of the content for some of the email browsers.

We'll just have to resign ourselves to a lot of handholding for these templates, which is not what we'd wanted.