[英]How to only show desktop version on mobile - Blogger
I want to show only the desktop version of my blogger site forever... The whole desktop version/design will be shown.我想永远只显示我的博客站点的桌面版本...将显示整个桌面版本/设计。
Visit my site and request the Desktop Version if you are on mobile, and thats exactly want I want to show on!如果您使用移动设备,请访问我的网站并请求桌面版本,这正是我想要展示的! www.peleis.ml
www.peleis.ml
This code is not working, its only change the m=1 to m=0 but not the design or view此代码不起作用,它仅将 m=1 更改为 m=0 而不是设计或视图
<code>
<script type='text/javascript'>//<![CDATA[
var curl = window.location.href;if (curl.indexOf('m=1') != -1) {curl = curl.replace('m=1', 'm=0');window.location.href = curl;}
//]]></script>
</code>
You may be able to force a desktop rendering by overriding the viewport width.您可以通过覆盖视口宽度来强制进行桌面渲染。 Try adding this meta tag to your
<head>
:尝试将此元标记添加到您的
<head>
:
<meta name="viewport" content="width=1024" />
However, depending on your site's layout, that may negatively impact desktop viewing.但是,根据您网站的布局,这可能会对桌面查看产生负面影响。
Check if it is adding "?m=1"
at the end of the URL it must be "?m=0"
.检查它是否在 URL 末尾添加了
"?m=1"
它必须是"?m=0"
。
SOURCE: How to Redirect Mobile Version to Non-Mobile in Blogger来源: 如何在 Blogger 中将移动版本重定向到非移动版本
Hi... 你好
To be able to customize your Mobile Template, you need to set this to "Custom". 为了能够自定义您的移动模板,您需要将此设置为“自定义”。
Once you have finished so, Save your template then post back here for the next steps to add the mobile attribute. 完成此操作后,保存您的模板,然后在此处重新发布以进行添加移动属性的后续步骤。
Similar discussions on customizing Blogger Mobile Template was discussed here: https://support.google.com/blogger/thread/16829776?msgid=16936459 (adding the mobile='yes' attribute) or 8 best SEO friendly premium blogger templates . 在此处讨论了有关自定义Blogger移动模板的类似讨论: https : //support.google.com/blogger/thread/16829776?msgid = 16936459 (添加mobile ='yes'属性)或8种最佳的SEO友好高级博客模板 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.