Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Disable Mobile Version

  • Gregory Spyridis
  • Gregory Spyridis's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #137677 by Gregory Spyridis
Disable Mobile Version was created by Gregory Spyridis
Hello,

Is it possible to disable mobile version?

thanks

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #137678 by Yiota
Replied by Yiota on topic Disable Mobile Version
Hello,

You can do this only by modifying the css files.
You need to locate the @media statements with max-width:600px, 596px and 480px (around line 2025 and below) and comment them out from the template.css file in templates/archetype/css/ folder.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Gregory Spyridis
  • Gregory Spyridis's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #137679 by Gregory Spyridis
Replied by Gregory Spyridis on topic Disable Mobile Version
Thank you for your reply, the first step was done and it seems to be ok from my android device. But the problem exists when i resize the browser to a smaller window from my pc. I need to disable this too.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #137680 by Yiota
Replied by Yiota on topic Disable Mobile Version
Are you sure you are not seeing cached copy in your desktop?
A link to your page would be helpful.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Gregory Spyridis
  • Gregory Spyridis's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #137681 by Gregory Spyridis
Replied by Gregory Spyridis on topic Disable Mobile Version
Yes i 'm sure, it doesn't load cached copy.
Here is the demo link http://******.gr/demo (sorry for the abusive domain)

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #137682 by Yiota
Replied by Yiota on topic Disable Mobile Version
Try to also change

@media only screen and (min-width: 768px) to @media only screen and (min-width: 569px) or @media only screen and (min-width: 320px) if you need to include the site not work in iphone mode as well

and try to also comment out the following

@media (min-width: 768px) and (max-width: 900px) { .medium-1 { position: relative; width: 8.33333%; }
.medium-2 { position: relative; width: 16.66667%; }
.medium-3 { position: relative; width: 25%; }
.medium-4 { position: relative; width: 33.33333%; }
.medium-5 { position: relative; width: 41.66667%; }
.medium-6 { position: relative; width: 50%; }
.medium-7 { position: relative; width: 58.33333%; }
.medium-8 { position: relative; width: 66.66667%; }
.medium-9 { position: relative; width: 75%; }
.medium-10 { position: relative; width: 83.33333%; }
.medium-11 { position: relative; width: 91.66667%; }
.medium-12 { position: relative; width: 100%; } }
@media (max-width: 900px) and (min-width: 569px) { .medium-module-1 { position: relative; width: 8.33333%; float: left; }
.medium-module-2 { position: relative; width: 16.66667%; float: left; }
.medium-module-3 { position: relative; width: 25%; float: left; }
.medium-module-4 { position: relative; width: 33.33333%; float: left; }
.medium-module-5 { position: relative; width: 41.66667%; float: left; }
.medium-module-6 { position: relative; width: 50%; float: left; }
.medium-module-7 { position: relative; width: 58.33333%; float: left; }
.medium-module-8 { position: relative; width: 66.66667%; float: left; }
.medium-module-9 { position: relative; width: 75%; float: left; }
.medium-module-10 { position: relative; width: 83.33333%; float: left; }
.medium-module-11 { position: relative; width: 91.66667%; float: left; }
.medium-module-12 { position: relative; width: 100%; float: left; } }

Let me know if that worked.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Gregory Spyridis
  • Gregory Spyridis's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #137683 by Gregory Spyridis
Replied by Gregory Spyridis on topic Disable Mobile Version
It doesn't work on my android device, but in my Desktop compresses all the modules in the same line, fits to window.
I want to enable horizontal scroll bar, if that helps.
Try to resize nuevvo.com to a smaller window and i think you will understand exactly what i mean.


Does this meta tag (line 89 from includes/helper.php) influences or not?
$document->setMetaData('viewport', 'width=device-width, user-scalable=0, initial-scale=1.0');

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #137684 by Yiota
Replied by Yiota on topic Disable Mobile Version
OK I now understood what you need.

You can revert all changes mentioned above and in .row class remove the width:100% and change the max-width:90em; to width:90em; That will allow your site to always be in desktop mode.

The code snippet above just disables the zoom. Let me know if you need further assistance.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Gregory Spyridis
  • Gregory Spyridis's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #137685 by Gregory Spyridis
Replied by Gregory Spyridis on topic Disable Mobile Version
Ok worked, thank you!

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #137686 by Yiota
Replied by Yiota on topic Disable Mobile Version
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum