SOLVED

Remove hyphenated text at line breaks

Go to solution
ceciliagonzalez
Level 2

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.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Jo_Pitts1
Level 10 - Community Advisor

Re: Remove hyphenated text at line breaks

@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 

View solution in original post

Jo_Pitts1
Level 10 - Community Advisor

Re: Remove hyphenated text at line breaks

@ceciliagonzalez ,

you're very welcome.  Can you mark this as the correct answer please?

Cheers

Jo

View solution in original post

4 REPLIES 4
Jo_Pitts1
Level 10 - Community Advisor

Re: Remove hyphenated text at line breaks

@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 

ceciliagonzalez
Level 2

Re: Remove hyphenated text at line breaks

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

ceciliagonzalez
Level 2

Re: Remove hyphenated text at line breaks

It worked. Thanks so much!

Jo_Pitts1
Level 10 - Community Advisor

Re: Remove hyphenated text at line breaks

@ceciliagonzalez ,

you're very welcome.  Can you mark this as the correct answer please?

Cheers

Jo