Home › Forums › Support › A Very Thin White Line at the Bottom of Mobile View Page (Safari & Chrome)
- This topic has 7 replies, 2 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
December 29, 2022 at 9:14 pm #2477530
yitegele
Hi GP Team!
How are you?
I find everything perfect about generatepress & blocks, but this one.
This is my second time to find this problem, which is, there is sometimes a very thin white line at the bottom of mobile view page, no matter safari or Chrome (iPhone 14 Pro, ios 16.2).
If you may check the GP Library pre-built site “Driver” and “Construction” and others too in MOBILE view, and the screenshot of my iPhone in below link, you will find a this white line at the bottom of some of the pages (not every page). When you reach the bottom, then if you drag the screen up, I will see this more clear.
I know it is not a vital problem, only a little strange to have this. Is it possible for your team to check whether this is my individual problem or a common situation for everyone?
Best regards,
YiDecember 30, 2022 at 2:39 am #2477709David
StaffCustomer SupportHi there,
its an iOS thing, which affects most iphones in one way or another.
One thing you can do is to set thetheme-colorof the site – see here:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color
Simply hook in th the
theme-colormeta eg.<meta name="theme-color" content="#000000" />into the
wp_headand set your color. For Safari at least it then use that for the UI and Background.December 30, 2022 at 3:57 am #2477766yitegele
Hi David,
Thank you for your help.
I think this is solved to some extent. I change the theme-color to the same color of “the white line”, and this line will not be that noticeable, even though the line is actually still there.
Hope GP will solve this problem for good in the future, which is effecting many library pre-built templates. Thank you all the same.
At last, if I do not use pre-built template and build the website from scratch, is the white line possibly gone, or it is nothing about the pre-built template?
Cheers!
December 30, 2022 at 4:39 am #2477791David
StaffCustomer SupportIts not a GP issue, or related to the pre-built sites. Its how the iOS browsers work, you can visit many other non GP or no WordPress sites and see the same thing.
If you want to avoid it, then using the theme-color meta can help 🙂
December 30, 2022 at 4:51 am #2477793yitegele
Hi David,
Thank you.
Could you please have a look at following image, and help confirm is my setting correct, as I’m not good at coding?
Display Rule: Entire SiteAs this white line is not on every page, for example, pre-building template called “Construction”, if you go through it on iPhone, you will find this white line happened on pages of “Services, Projects”, NOT on “Home, Company, Contacts”.
If this white line happened on every page, then no problem. But it is very strange that in the same website, some pages have and meanwhile some pages don’t have. That is my concern.
December 30, 2022 at 7:03 am #2477895David
StaffCustomer SupportThat is correct for adding the meta but make sure your quote marks are the straight ones ie.
"That gap is an anomaly with iOS / WebKit browsers, there is no difference between those pages for one to show a gap and one not to show the gap.
December 30, 2022 at 10:15 am #2478235yitegele
Hi David,
Thank you for your help.
Cheers!
December 31, 2022 at 4:44 am #2478719David
StaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.