× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

Disabling mobile detect/views

More
6 years 1 month ago #3721 by hns
hns created the topic: Disabling mobile detect/views
Hi!

I want to completly disable mobile detection rules and mobile layout. Cant filnd right place where to edit this.

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

More
6 years 1 month ago #3724 by marcin
marcin replied the topic: Disabling mobile detect/views
Hello,

Recently we released the updated JM-Business-Marketing template.
Now it has a possibility to disable the responsive layout from the template backend.

More info here:
www.joomla-monster.com/template-updates/...m-business-marketing

Regards,
Marcin

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

More
6 years 1 month ago - 6 years 1 month ago #3725 by hns
hns replied the topic: Disabling mobile detect/views
Great Success! Thanks!
Last Edit: 6 years 1 month ago by hns.

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

More
6 years 1 month ago #3727 by marcin
marcin replied the topic: Disabling mobile detect/views
You're welcome :)

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

More
5 years 10 months ago - 5 years 10 months ago #4389 by Nergal
Nergal replied the topic: Disabling mobile detect/views
Hi!
I have the same problem, can't disable mobile or tablet view, but I can't update template because I made a lot of customization.
Is there a way to disable mobile view in template source?
I really need this as quick as possible.
Please help!!
Last Edit: 5 years 10 months ago by Nergal. Reason: spell error

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

More
5 years 10 months ago - 5 years 10 months ago #4390 by marcin
marcin replied the topic: Disabling mobile detect/views
Hello,

First, please do a backup.

1) Remove this code, it will be located in the jm_head.php (templates/jm-business-marketing/lib/php/) or in the index.php - depending on which template version you are running.



2) Clear the cache in Joomla.



3) Add this code to the layout.css file (templates/jm-business-marketing/css/).
The min-width should be your current template width + 40px:
#jm-allpage {
    min-width: 1000px;
}

That's it.

Regards,
Marcin
Attachments:
Last Edit: 5 years 10 months ago by marcin.

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

Time to create page: 0.387 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2018 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.