Remove hyphenated text at line breaks | Community
Skip to main content
New Participant
June 30, 2021
Solved

Remove hyphenated text at line breaks

  • June 30, 2021
  • 1 reply
  • 3965 views

Hello All,

Is there a way to tell Marketo not to hyphenate words at line breaks when we're using a responsive layout? Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jo_Pitts1

@ceciliagonzalez ,

this is less a Marketo thing and more a CSS/HTML thing.

 

Try adding this into your styling for the paragraph module

Style="hyphens: none; (+whatever other styles you have)"

 

Given this is only impacting you on mobile, you could probably slot it into the media query CSS at the top of the template

 

Cheers

Jo 

1 reply

Jo_Pitts1
Jo_Pitts1Accepted solution
Community Manager
June 30, 2021

@ceciliagonzalez ,

this is less a Marketo thing and more a CSS/HTML thing.

 

Try adding this into your styling for the paragraph module

Style="hyphens: none; (+whatever other styles you have)"

 

Given this is only impacting you on mobile, you could probably slot it into the media query CSS at the top of the template

 

Cheers

Jo 

New Participant
June 30, 2021

I will try this and let you know if it works! Thank you!