Need help styling text and managing line spacing

  • 1
  • 1
  • Question
  • Updated 2 years ago
  • Answered
no problem... It's just really frustrating because I'm not really having much success in getting the mailings the way I want them - the way they used to be with the classic editor.  The text editor is very clunky.  If I knew html it would be easier.
I have problems no matter how I copy and paste - with or without keeping styles - from Notepad, Outlook, or Publisher.  that's why I wanted to be able to use the Style Sets.  Also - no mater what Line Height I have for each paragraph, a hard return puts in a line height of 13.25px in the html code.  I have to use soft returns for everything.

Note: This topic was created from a reply on the Editing Text Styles topic.
Photo of Cornerstone

Cornerstone

  • 16 Posts
  • 1 Reply Like

Posted 4 years ago

  • 1
  • 1
Photo of Tyler Scott

Tyler Scott, Employee

  • 805 Posts
  • 39 Reply Likes
Hello! Sorry for the frustrations, but can you please let me know the mailing name which you're currently working in along with the desired stylings you're attempting to apply? Please also let me know a name of a mailing from the classic editor, so I can take a look and see about the best way to accomplish the same look you're going for in the drag & drop editor.

Thanks!
Photo of Cornerstone

Cornerstone

  • 16 Posts
  • 1 Reply Like
You can choose any of the StoryLines from the classic editor and any of the StoryLines from the drag and drop editor.

Classic Editor - paste text in and only have to change:
  • font
  • font size
  • font color (and the hex color field remembered what was previously entered so I didn't have to type in 404041, 1f1303 and BE7529 every single time.)

Drag and Drop Editor - paste text in and have to change:
  • font
  • font size (px instead of pt - i want 10pt, 12pt and 14pt - none of the px are the same as that)
  • font color (have to type it in every time)
  • change line spacing to 1 (default is 1.5)
  • delete hard returns and replace with soft returns (at least 20 times per mailing - the hard return default is 13.25 px and the only way to see that is if I go into the code)
Like I said, I have tried to paste with styles, without styles and from Outlook (html text and plain text), Publisher and Notepad.  When I do it from Notepad, there is no html code added, but as soon as I change the text to different fonts / sizes the 13.25 hard return is automatically added (only shows up in the code view - no way to change it otherwise.
(Edited)
Photo of Tyler Scott

Tyler Scott, Employee

  • 805 Posts
  • 39 Reply Likes
Hey there! Thanks for the info and I apologize for the delay. I'm continuing to test here and unfortunately have not been successful in recreating. But I'll keep digging. We recommend pasting without styles just to help eliminate the chance of any formatting/styling code from an outside program sneaking in. Emma isn't designed to understand coding from say Publisher or Outlook/Word. So you're definitely on the right track there.

I'll be sure to keep you posted!
Photo of Marc Russell

Marc Russell

  • 64 Posts
  • 40 Reply Likes
Are you using custom templates? You can preset the styles with CSS, so when you paste it in, it will inherit, unless you decide to change it.
Photo of Cornerstone

Cornerstone

  • 16 Posts
  • 1 Reply Like
how can you reset the styles with CSS?  We are using a custom template.
 we were told by Emma Customer Rep Katie Lewis in an archived post:
The toolbar is from a company called Aloha, and so it isn’t quite so simple to make changes to its function. What you’re referring to with our Design Team is when they rewrite your template’s code to include the font family, size, color, etc., as the template’s default. It’s more time-consuming than 5 minutes and doesn’t necessarily cost $99; it depends on your template’s code and how you’d like it to be revised. Those style sets  — Paragraph, Header 1, Header 2, etc. — are coded per template using CSS. They may differ from template to template, which is where our Design Team can help with the revision.
Is that what you are talking about?
Photo of Marc Russell

Marc Russell

  • 64 Posts
  • 40 Reply Likes
I don't want to step on toes with the design team, but I just mean if you set the CSS styles in your template, then those text boxes will be formatted that way from the beginning when you drag one over.

Can you use www.dpaste.com and post your template code so that I can see it.
Photo of Engenius

Engenius

  • 7 Posts
  • 0 Reply Likes
Marc, do you know if there a way to preset the styles within the pre-designed emma templates using CSS? 
(Edited)
Photo of Emily Hollingsworth

Emily Hollingsworth, Alum

  • 2203 Posts
  • 158 Reply Likes
Hi Engenius -- Emma's gallery templates all have their own default CSS styles, but you could certainly code your own styles in using inline styles HTML blocks. That sounds like it might be more work for you, though. Have you tried using the Template Builder to code your own templates? At the template level, you could code your own CSS style sheets! 

Our design team could also code a custom template or customize your favorite Emma template with custom styles. Let me know if you're interested in either of those options, and I'll connect you with our services desk!
Photo of Marc Russell

Marc Russell

  • 64 Posts
  • 40 Reply Likes
Let me also add a useful observation from yesterday. If you highlight or select all and hit Delete OR Backspace, it will remove the HTML associated with that text box as well, ie. - P tags, etc.

THIS WILL REMOVE YOUR CSS STYLED FORMATTING.

Best practice would be to never delete first, merely overwrite by highlighting the text you want to change and PASTING over it. This achieves the same outcome, however, will not modify the HTML structure of the box.
(Edited)