Archived topic
Wrong view on mobile phone...
3 replies · Started by Francesco on December 30, 2021
Hi there,
many thanks for the work you're doing here.
A client of mine pointed out this problem on mobile phones (Huawei p20, Firefox, 84.1.2, Android10).
However, the problem does not appear on my devices.
(the URL is ugly, I know, there are Ukrainian letters in it)
And here is a screenshot of the issue.
1) the width of the site gets smaller and buttons get messy -> https://www.dropbox.com/s/amk865nvs5z0xrg/photo_2021-12-30%2010.49.52.jpeg?dl=0
I don't think it depends on the length of the word "Ausstellungseröffnungen".
I have already tried to change it but the issue still occurs (on my customer's device).
Could be the "ugly" URL?
Please help.
Many thanks in advance.
Francesco
Hi there,
the issue is with the really long word in the H1 title, it doesn't break to a new line so it overflows the container.
Couple of options:
1. Edit the page and select the H1 Headline - in the settings sidebar change to mobile and edit the Typography and set the font to a smaller size to stop the text overflowing. Setting it to 30px would fix it.
OR
2. Add this CSS to force that word to break to a new line:
.gb-headline-text {
word-break: break-word;
}
Got it. Many many many thanks.
Francesco
You're welcome