Hi,
we’ve installed Newspaper v 8.1 in a worpress site latest version.
we encounter a random issue tested under linux, windows, with chrome and firefox :
Sometimes, we don’t know why, on screens, the theme that is displayed is the mobile theme, instead of the screen theme.
Could you help us with it ? what complement information would you need to help us ?
(sorry for my english…)
regards,
Icodia
Hi,
That can be caused by caching plugins. Some caching plugins interfere with the theme functionality and cause this issue to happen. You can try as a test to deactivate the caching plugin as a test and check if the problem is resolved.
If it is not, deactivate all plugins except theme plugins and check again. Hopefully this way you can identify which one is the cause.
The recommend caching plugin is the WP Super Cache
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
Please let us know if there is still a problem, and provide a link to your website if possible, so we can inspect it.
Thanks
Hi,
we’ve made tests :
– we replaced WP rocket by WP Super Cache.
=> we still have the bug.
We think it may be caused by the Varnish cache we have on the server, that put in cache the page with the mobile skin when the first user to connect to the site after the cache cleaning is on a mobile device.
We would like to exclude the script that calls the mobile skin from the cache.
Could you indicate us whitch is script,(or file, or method) that you use to call the mobile skin ?
Regards,
Icodia
Hi,
It could be that cache that is causing the issue. The mobile theme is sensitive when it comes to caching. That could be serving the mobile style to be loaded on desktop, when it should not. The mobile theme should detect and load only when needed, and that is what it does if no interference is present
– https://www.screencast.com/t/pOPUABFZ
– https://www.screencast.com/t/c3b21kozMYkt
Thanks