SOLVED

Re: Remove hyphenated text at line breaks

Go to solution
ceciliagonzalez
Level 2

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
Jo_Pitts1
Level 10 - Community Advisor

@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

@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

@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

It worked. Thanks so much!

Jo_Pitts1
Level 10 - Community Advisor

@ceciliagonzalez ,

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

Cheers

Jo

ceciliagonzalez
Level 2

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