Help with this theme.
12 years ago
joejr6
Member This theme seems to be responsive on mobile devices. I have tried everything, but I do not want it responsive, I would like to see the desktop version on mobile devices. How can I change this? |
12 years ago
Administrator
Support Service Hi! if (preg_match('/mobile/i', $_SERVER['HTTP_USER_AGENT'])) echo '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">'."
"; with echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">'." "; in file top.php of the theme. |
11 years ago
Hicks
Member
Hi!
doesn't work so good, are some changes in the style.css needed? |
11 years ago
Dave
Support Service
You can find the full instructions here: http://smthemes.com/support/topic/howtodisablemobileandtabletmodes/
|
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts