arapogiannis Posted December 29, 2015 Share Posted December 29, 2015 Hello, i am using a custom theme, and i have a specific problem. I am trying to disable the mobile site from Preferences --> Themes and in the mobile i am still getting the mobile version. I want to get only the responsive version as it happens in desktop. Is there a line i should comment in any files that would fix the problem ? Thank you, Link to comment Share on other sites More sharing options...
mirko-l Posted December 29, 2015 Share Posted December 29, 2015 I had a problem with my theme on mobile (it wasn't working properly) and the only solution I found (after having no reply here) was to inhibit the mobile detection. Now all the devices are detected as computers. The file I edited is /tools/Mobile_Detect.php, in this I set the functions isMobile and isTablet to return always false (comment all out and add, before the }, 'return false;'). Hope it helps! P.S. sorry for my bad English Link to comment Share on other sites More sharing options...
dunsen Posted June 25, 2016 Share Posted June 25, 2016 I had a problem with my theme on mobile (it wasn't working properly) and the only solution I found (after having no reply here) was to inhibit the mobile detection. Now all the devices are detected as computers. The file I edited is /tools/Mobile_Detect.php, in this I set the functions isMobile and isTablet to return always false (comment all out and add, before the }, 'return false;'). Hope it helps! P.S. sorry for my bad English can you please kindly explain more details? thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now