Destinstal mobile view
-
Dear all,
I need your help. I just install a new theme: Royal – Responsive WordPress News, Magazine, Blog. I want to have a desktop view when you use your mobile phone instead of the mobile vieuw.
I searched for the solutions, but I couldn’t find the answer.
In this forum I found this:
“This solution worked for all pages with exception of home page – which looks like it can be fixed by correcting my sloppy css…replaced this (in header)
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<meta name=”viewport” content=”width=device-width” />
<title>with this…
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<title>”In my previous theme this helped, but in this new theme I can’t find these sentences.
This is what stand in my header:
<!–[if IE 8 ]> <html class=”ie ie8″> <![endif]–>
<!–[if IE 9 ]> <html class=”ie ie9″> <![endif]–>
<!–[if (gt IE 9)|!(IE)]><!–> <html <?php language_attributes(); ?> class=”no-js”> <!–<![endif]–>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no”>
<meta name=”format-detection” content=”telephone=no”>
<meta name=”apple-mobile-web-app-capable” content=”yes”>
<?php
if ( !function_exists( ‘_wp_render_title_tag’ ) ) :
?>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<?php
endif;
?>
<link href=”//www.google-analytics.com” rel=”dns-prefetch”>
<?php pi_render_favicon(); ?>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<meta name=”description” content=”<?php bloginfo(‘description’); ?>”>
<?php wp_head(); ?>
</head>
<body <?php body_class( pi_render_background_size() ); ?>>
<!– PRELOADER –>
<?php pi_render_preloader(); ?>
<!– END / PRELOADER –><!– PAGE WRAP –>
<div id=”page-wrap” class=”<?php echo esc_attr(pi_boxed()); ?> wrapper”>Can someone PLEASE help me to get the desktop version instead of the mobile view?
- The topic ‘Destinstal mobile view’ is closed to new replies.