Remove hyphenated text at line breaks | Community
Skip to main content
Level 2
Jun 30, 2021 9:48 PM UTC
Solved

Remove hyphenated text at line breaks

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.
Jo_Pitts1
Jo_Pitts1Accepted solution
Community Manager
Jun 30, 2021 9:57 PM UTC

@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 

4 replies

Jo_Pitts1
Jo_Pitts1Accepted solution
Community Manager
Jun 30, 2021 9:57 PM UTC

@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 

Translate
Level 2
Jun 30, 2021 10:26 PM UTC

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

Translate