Hi, i’ve strange issue with visual composer on homepage:
I’m make my custom homepage with visual composer for desktop view and i hide some block only for mobile where a special block with infinite loop is used… It’s all ok in firefox and edge but when i try to view via google seach console or google chrome from desktop, i’ve see only mobile block…
My site is: http://www.keyforweb.it


[IMG][/IMG]
-
This topic was modified 9 years by
keyforweb.
Hello keyforweb,
Please provide more useful details because I do not exactly understand what you mean and what kind of block you want to hide on the desktop and display only for mobile mode. Please be more specific and you should provide some useful screenshots os I will be able to provide a more accurate response.
Thanks for your understanding!
Hello, sorry for my not perfect english… i’ve used visual composer for my homepage and i used “Hide on device” option for hide content on mobile so the users could see only grid and news block on smartphone and tablet.
The issue is that if i make a check on homepage with google search tools i see grid and news block that i created for mobile also in desktop view…..
The link is in the first post, anyway it’s http://www.keyforweb.it
About settings i have hide block on mobile device via visual composer editor only. If you need i could create an account for access to backend site so you can check the page and setting.
Thank you
Hi,
I have checked your website on Firefox – https://www.screencast.com/t/vBL0HsDg and on Chrome – https://www.screencast.com/t/HtwECh2v and the result is exactly the same on both browsers on mobile. This meaning the grid and the news block. I do not understand how are you hiding the rest of the content and why it is not being detected in the testing tool, and also don’t think such an option is available in the Visual composer provided with the theme.
Thanks
The issue is that i see only grid and the news block on desktop in more browser how you can check here:
https://www.browserstack.com/screenshots/9f56d592f2300d66211ba08accb6c97f7d9876fa
Why on desktop i don’t see the other blocks??
I hide content on mobile with this option:

thx
Hi,
I seem to have forgotten about that setting for the columns. What that does is set a display none to the element you set it to – https://www.screencast.com/t/Q2W8fuvgD and maybe it is interpreted by the testing tool in a different way. It seems you also have custom css code in the theme panel meant to hide some elements on the page that could be affecting the result.
If you would like to have different content on mobile you could just use the mobile theme solution provided with the theme – https://forum.tagdiv.com/the-mobile-theme/ that features a grid displayed on top, and a latest articles on the bottom. That way you will not have to resort to hiding most of your page on mobile, and have to deal with this kind of problems. Not to mention improved performance on mobile.
Thanks
The custom code in ccs is used to hide sidebar on mobile and i take it from this forum. I would use mobile theme but i need to use W3 Total cache and i see that if i enable this cache desktop and mobile browser could not detect correctly the right theme….. đ
Hi,
The best solution would be to use the mobile theme and the WP Super Cache plugin with the configuration recommended here – https://forum.tagdiv.com/cache-plugin-install-and-configure/ and everything should work out properly this way. Please note that the W3 Total Cache is not tested with the theme and we have bad reports regarding this problematic plugin in combination with the theme.
Thanks