Hyphenation does Not Work With Longer Headings On Real Devices - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Hyphenation does Not Work With Longer Headings On Real Devices

ID

Isabelle Dionisius

SP Page Builder 3 years ago

Hi team,

I have 2 questions before I am finally uploading the website:

  1. The hyphenation does not work on my iPhone test devices. It appears with some headers, that those overlap to the edges instead of going into the next line. The hyphenation works in the virtual simulator devices, but it won't work on the real iPhone 7 and iPhone SE. In order to use hyphenation I put into my custom. css the command:

h2 { hyphens: auto;
}

body { hyphens: auto; }

  1. My footer exists of 2 modules. When it comes to a smaller view the second module is not centered (although I put in the command into helix/layout to set up footer with the class:

text-center text-lg-end

Thanks so much for your help in advance. I am submitting my credentials in the hidden content.

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #53925

if we talk about Bottom already is

info_6044.png

About Footer2

Add also this

@media only screen and (max-width: 680px) {
#mod-custom114 > div {
  text-align: center !important;}
}

It's becuase you used text-align: right for div there.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #53917

Hi,

  1. Look at the bottom "Browser compatibility": https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens
    It seems to be question to Apple Developers.
  2. I would use this custom CSS lines:
@media only screen and (max-width: 680px) {
#column-id-1633079574242 {text-align: center;}
}
0
ID
Isabelle Dionisius
Accepted Answer
3 years ago #53923

Hi Paul,

thank you. Still, it is not exactly centered.

0
ID
Isabelle Dionisius
Accepted Answer
3 years ago #53934

Wow, that works perfect!!! Thank you so much.

0