- This topic has 21 replies, 2 voices, and was last updated 4 years, 4 months ago by
David.
-
AuthorPosts
-
January 31, 2019 at 12:29 am #797336
Carsten
Hi there, when using GeneratePress on mobile devices, it is possible to slide the content sideways out of the frame, which does not occur with other themes I tested like Twenty Nineteen.
It is a nuisance on mobile because the content is not fixed. It is not the page back and forward slide option, but a 10px off frame.I received this response from the WPMobile.app developer:
‘This is the same if you open the website in a regular smartphone browser.
You should fix this problem first, it’s related to your website theme.’I send you login information in an account message.
Regards
CarstenJanuary 31, 2019 at 3:21 am #797416David
StaffCustomer SupportHi there,
you have added this CSS which is causing the content to break out of the container.
.site-content { margin-right: -20px; !important; margin-left: -20px; !important; }
January 31, 2019 at 3:32 am #797425Carsten
Hi David, have you seen the links to the screen shot videos? This has nothing to do with the margin settings, as far as I can see. If I activate themes like Twenty Nineteen or Vantage, with this css the issue is not there.
The issue was there prior to the added css, but I will delete the css within an hour to test if this is causing it.
Regards
CarstenJanuary 31, 2019 at 3:40 am #797430Carsten
This issue will not be revealed in the inspector simulating mobile device, but only in my mobile browser on iPhone.
January 31, 2019 at 4:03 am #797446David
StaffCustomer SupportI use mobile dev tools so it is on a real device, an iPhone 7 in my case.
You can use this CSS that blocks any horizontal overflow:html, body { overflow-x: hidden; }
January 31, 2019 at 4:24 am #797464Carsten
Hi David, I have to admit that you were right about the margin css code 😉
The issue disappeared when deleting the code snippet.
What I was trying to achieve was a zero margin only on mobile on all pages, so all content fills out to the edges of the screen.
How do I achieve that?
Would this the right media query: @media screen and (max-width:767px)
Thanks
January 31, 2019 at 4:41 am #797470Carsten
Is it also possible to block zooming, to have the genuine app behavior and feel?
January 31, 2019 at 8:11 am #797767David
StaffCustomer SupportAwesome, glad thats sorted.
you may want to check the padding you have set in the Customizer > Layout > Container, this is what creates the space around the content on the non elementor pages.This article on locking down zoom may help – not something i have used though, its generally frowned up as some users may need to zoom for better accessibility:
https://stackoverflow.com/questions/29376761/disabling-zoom-meta-tag
January 31, 2019 at 8:20 am #797778Carsten
Thanks David, you have been most helpful!
No need to add extra css, GeneratePress has it all, out of the box, you just have to know where to look for it.
Regards
CarstenJanuary 31, 2019 at 8:23 am #797781David
StaffCustomer SupportYou’re welcome. Glad to be of help.
February 2, 2019 at 3:59 am #799422Carsten
Hi again, I am experiencing a strange behavior of on of the pages, It’s the messages page, which still slides sideways.
Any clues why one page still behaves like this and the rest are fine?
Regards
CarstenFebruary 2, 2019 at 4:41 am #799443David
StaffCustomer SupportCould you edit your original topic and change the Site URL to the page where the problem is. Just so i am looking at the right one.
February 2, 2019 at 5:02 am #799453Carsten
Yes, du you also need the account information send again?
February 2, 2019 at 5:31 am #799465David
StaffCustomer SupportTry this:
.buddypress-wrap .subnav-filters.bp-messages-filters ul { margin-left: 0; }
February 2, 2019 at 5:33 am #799466Carsten
Suggestion, would it be possible to add a private reply button in here, so it was possible to add login information without having to fill out an Suggestion, would it be possible to add a private reply button in here, so it was possible to add login information without having to fill out an account issue form?
-
AuthorPosts
- You must be logged in to reply to this topic.