Archived topic
mobile width issue
6 replies · Started by gedosan on July 3, 2020
Hi Guys
Something a bit weird with mobile - if you press down on the screen you can move the page left and right. I've checked this on other sites and you can't do this. Also checked other phone types so it's not just my iphone x. Assuming it's a width setting somewhere, but can't for the life of me find it.
Thanks!
Ged
Hi there,
can you disable your cache plugin so i can take a look at where the issue is ?
That's disabled now, thanks
I am not able to find what element is creating the unintended overflow.
Even this CSS which is the general patch to correct it doesn't work:
html, body {
overflow-x: hidden;
}
But there are is a lot of Javascript related to different adverts that are all manipulating the DOM - any of which could be causing the issue. There are also a lot of JS related errors in the console.
You should resolve the JS errors and then try disabling some of the adverts temporarily to see if any of them are affecting the layout.
ok thanks
You're welcome
Just took another look....
Try this CSS:
@media (max-width: 768px) {
.pt-cv-colsys {
margin-left: 0 !important;
margin-right: 0 !important;
max-width: 100% !important;
}
}