How to disable mobile and tablet modes
11 years ago
![]() Support Service
By default we don't provide possibility to disable mobile and tablet modes of a theme. But if you would like to do it you can use the following instruction:
1) open file inc/library.php in text editor, find function headtext(), find and remove there following code:
find string
and replace it with
2)open file style.css and remove all code starting from strings
3)delete the following string:
and one closing curly brace before the line:
4) And in conclusion you have to find width of the .contaner class in the style.css file. The same width should be for "html" element. I mean you have to find the code (e.g.):
and replace it with:
That is all. After you have done you will see the same looking website on desktop, tablets and mobile devices. |
11 years ago
Member
hello dear support. sorry but my english is not so good.
yesterday i bought the "sport press" theme on your page. now we have a problem with the mobile function. when the theme is not activated it is running on my iphone. later i activate the theme and it doesn't running. what can i do???? please help me!!!! |
11 years ago
![]() Support Service
Please contact us via support@smthemes.com to solve it.
|
11 years ago
Member
Hello, I followed the previous code on the hotelbook theme and has mostly worked. Nevertheless, the right side of the theme looks cut off on the mobile site, as if the design is incomplete. Where could I have gone wrong in the codes?
|
11 years ago
Member
Hello,
I follow this tutorial and on my iphone, the menu don't work. Why? the site: http://mathieuderoy70.com/wp/ Thanks |
11 years ago
Member
I have noticed the same issue, you can resize down if the page is loaded at a large resolution, but if you load it directly on a smaller resolution, the menu bar doesn't work
|
11 years ago
Member
hi
i have this site http://xn--5dbfhkabawhh6a0b0bmlfp.net/ and i want to disable the mobile and tablet modes is this tutorial works? |
11 years ago
Member
I am unclear on step 3... I deleted the indicated code as I best understood your instructions, but my pages lost the correct formatting on all devices...
I am using the Jellybean theme -- perhaps you could paste what the ENTIRE code on the style.css sheet would be with the edited code? Thanks! |
10 years ago
Member
Dear Support,
I still have some issues concerning the background of my website www.meierzajac.com. When I followed the steps indicated above, the mobile version got deactivated but now the background picture with the skyscrapers is missing if you access the site with a mobile device. Also I couldn't execute the last step since the styles.css in my case is empty. I'm using the template immovables 2.0. Thanks! |
10 years ago
Member
Is it possible to remove Tablet but leave mobile, in other words force tablets to act as if it were mobile?
|
10 years ago
Support Service
Hi!
To enable the mobile mode on tablet devices you should use the following instrucion: 1) delete the following string in the file library.php:
and replace the string:
with:
2) replace the following string in the file style.css :
with:
and delete the code from the string:
up to this line: |
10 years ago
Member
Thank you very much that did the trick
|
10 years ago
Member
Hi! In the theme "firetive" no file top.php. What to do?
|
10 years ago
Member
I did everything as you described to the theme firetive, but still did not change the result.
|
10 years ago
Member
Dave - sorry but I need some assistance I followed your instructions to the "T" to remove the table view but something very strange is occuring with my site.
On my phone & Tablet (Nexus 5 and Nexus 7) when I go to the site with www.... before the address it works fine but if you type in just claycountypodiatry.com without the www it just gives me a blank screen, If I turn off the theme and go back to Wordpress default theme it works properly any thoughts? |
10 years ago
Member
Sorry but it does it on a PC as well (see post above)
|
10 years ago
Member
I have since removed those changes and reverted back to theme's orignal libraby.php and style.css in order for my site to properly function.
|
10 years ago
Member
Any updates on why this didn't work (removing Tablet only?)
|
9 years ago
Support Service
Hi!
To enable PC mode on tablet devices you should use the following instrucion: 1) delete the following string in the file library.php:
and replace the line:
with:
2) replace the following string in the file style.css :
with:
3) delete the code from the string:
up to this line:
|
9 years ago
Member
Hi,
I have tried to remove the tablet mode and use the mobile mode up to 1024px wide and PC mode above that. As JBG says above, this does not work. Although the screen updates correctly, I get a white screen when I try to edit a post. Please assist Jesper |
9 years ago
Member
123
|
9 years ago
Member
and how to make what would be the width of the page, and the background image (html {
background: url (images / back.png) repeat fixed transparent; min-width: 1000px / * just for example * / }) Specifies the width of the screen resolution automatically, mobile phone or tablet? after switching off the mobile version of the site, it is necessary to narrow the hands of the site on your mobile phone! I set the width of the image is automatically html { background: url (images / back.png) repeat fixed transparent; min-width: auto; / * just for example * /} - background image and adjusts the screen width of the page there is no way to do that would be determined by the width of the page automatically? |
9 years ago
Support Service
Hi!
There are several css files: style.css located in the directory of the theme and the others inside /css folder. Inspecting the page you will be able to find the line and the file you have to edit. We used css @media rule, e.g. :
and more to create the responsive web design for the theme. We don't provide such kind of services as editing themes for individual users. |
8 years ago
Member
Hello, As many people, my menu doesn't work on mobile phones and tablets.
website: lavieenvert.be help me quickly please |
8 years ago
Support Service
Hi!
Problems that people have are completely different as well as yours. It depends on many things: plugins, theme modification. In your case the reason for the problem is the renamed ".menu-topmenu-container" class for top menu. Perhaps, one of your plugins change it. Just replace the code:
with:
and this should fix your problem with the top menu. That's all! |
8 years ago
Support Service
Sorry, I forgotten to add that this code is located inside the functions.php file of the theme.
|
6 years ago
Member I can not find the library.php file in the icesport theme to disable the mobile version of the site, thanks |
6 years ago
Support Service
Hi!
This theme is not so old so the structure has been changed and this problem doesn't happen with the latest themes. |
6 years ago
Member
In the subject icesport mobile version is not correct otbrazhajutsja data, I wanted to disable the mobile version, how do I do that, thank you.
|
6 years ago
Support Service
Hi!
Could you show us a screenshot of the problem in the mobile view, please? |
6 years ago
Member
PC
![]() [url=https://radikal.ru][img]https://c.radikal.ru/c17/1804/8f/eef1388fe718.jpg[/img][/url] Mobile version [url=https://radikal.ru][img]https://d.radikal.ru/d29/1804/a7/02890dccca92.jpg[/img][/url] [url=https://radikal.ru][img]https://d.radikal.ru/d28/1804/e7/8bf12b71b709.jpg[/img][/url] |
6 years ago
Member
PC
![]() ![]() Mobile version ![]() ![]() |
6 years ago
Support Service
Hi!
If something went wrong, please try to roll back all your changes and follow the steps once again. This instruction worked for many of our users. I hope that you just missed something during the editings. |
6 years ago
Member
Hello,
I downloaded the standard icesport theme, the tables still do not display correctly, I attach the photo. PC https://d.radikal.ru/d26/1804/bc/82ed129684dd.jpg Mobile https://a.radikal.ru/a08/1804/06/ecd0ab8aa270.jpg |
6 years ago
Support Service
Hi!
Could you also provide the URL of your website, please? Tables sometimes can't be responsive. You would better use columns shortcode provided with the theme. |
6 years ago
Member
The site is currently on the local server. Could you give the opportunity to disable the mole version of the site?.
|
4 years ago
Member
[url=https://www.akashdayalgroups.com/website-designing-company-delhi][b]website designing company in delhi[/b][/url]
|
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts