BHelp Posted June 26, 2023 Posted June 26, 2023 I would like to prevent words from auto-splitting in mobile view across our website without effecting desktop view. Any advice? The website URL is www.360ag.com
tuanphan Posted June 26, 2023 Posted June 26, 2023 Which word are you referring to? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
BHelp Posted June 26, 2023 Author Posted June 26, 2023 All copy on Homepage and accelerating innovation page. All pages on our site but those two pages seem to be the only ones splitting text in mobile view
tuanphan Posted June 27, 2023 Posted June 27, 2023 It looks fine to me. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
BHelp Posted June 27, 2023 Author Posted June 27, 2023 Thanks for your help. We would like to prevent words from splitting with (-). Examples on your screenshot are the words industry and experience.
Solution tuanphan Posted June 28, 2023 Solution Posted June 28, 2023 13 hours ago, BHelp said: Thanks for your help. We would like to prevent words from splitting with (-). Examples on your screenshot are the words industry and experience. Try this CSS code p,h1,h2,h3, body * { -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; hyphens: manual !important } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment