- This topic has 11 replies, 3 voices, and was last updated 3 years, 5 months ago by
David.
-
AuthorPosts
-
November 7, 2022 at 9:20 am #2405094
Adrien
Hello support,
I’m facing a weird issue and after hours of research, I can’t understand where it comes from.
On this specific page, on mobile devices : https://www.ispeakspokespoken.com/cours-anglais/
The first element (the red box) changes size as soon as you scroll the page.Thanks for your help,
AdrienNovember 7, 2022 at 10:42 am #2405204Leo
StaffCustomer SupportHi there,
Can you first disable all plugins except GP Premium and GenerateBlocks to test?
Let me know 🙂
November 8, 2022 at 3:21 am #2405972Adrien
Hey,
Thanks for the fast answer.
First : actually the issue also happens on computer.
But it looks a bit different than on mobile devices.
– On mobile devices : you can clearly see the first element (red box) resizing (from small to big).
– On computer : there’s just a layout shift, like a blank space between the menu and the content of the page.Again, the weird thing is : the issue only happens on this specific page.
I’ve created a staging version of the website, so that you can check it and test whatever you want.
You also have access to the production website where you can see the issue live.Thanks a lot,
AdrienNovember 8, 2022 at 3:36 am #2405994David
StaffCustomer SupportHi there,
can you try adding this CSS:
@media (max-width: 1150px) { #sticky-placeholder { height: 115px !important; } }Let me know if that fixes the issue ?
November 9, 2022 at 6:07 am #2408032Adrien
Hello David,
Thanks for your answer.
I’ve tried adding the CSS, but it doesn’t change anything.
Another point: the issue only happens on the page when you’re logged out. If you’re logged in there’s no layout shift. Neither on computer nor on mobile.
November 9, 2022 at 6:43 am #2408089David
StaffCustomer SupportIs it possible to get a screen recording of the issue? I just wanna make sure we are seeing the same thing.
November 9, 2022 at 7:14 am #2408141Adrien
Sure thing,
You’ll find the screen recording here: https://drive.google.com/file/d/1neoNtjVQVxSN8AYRC-l9JJQ1hPMRfpsp/view?usp=sharing
November 9, 2022 at 7:39 am #2408183David
StaffCustomer SupportAre you using WP Rocket and PerfMatters for the CSS optimization on the site ?
November 9, 2022 at 7:47 am #2408204Adrien
Yes, I am.
Actually, we use 3 tools for performance:
– Perfmatters
– WP Rocket
– Cloudflare APOI do have these kind of issues quite often and I found out that clearing used CSS on Permetters does the trick.
In this situation, I’ve cleared used CSS, I’ve cleared all the caches (WP Rocket, Cloudflare), but the issue remains.
I’ve also tried and recreated the first section of the page from scratch, but nothing.
(I’ve provided you with all the information you need to login on the website + staging in previous messages, if you need to)
November 9, 2022 at 9:01 am #2408547David
StaffCustomer SupportSo i disabled Cloudflare, Perfmatters and WP Rocket on the staging site.
And as expected, the styles now load correctly and there is no size change or layout shift on that page.I then enabled just Cloudflare and Perfmatters and the issue returned.
So i then disabled the Unused CSS option in Perfmatters and the problem went away again.You need to speak with Perfmatters as it looks to be there CSS optimization that is causing the problem.
November 10, 2022 at 3:23 am #2409555Adrien
Thank you very much for your time David. I’m going to contact Perfmatters then.
Awesome support, as always!
Enjoy the end of your week.
AdrienNovember 10, 2022 at 6:40 am #2409789David
StaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.