我已经将_tk主题用于我的主题。链接到主题https://github.com/Themekraft/_tk
。现在我想从主题中删除响应功能。如何从主题中删除响应功能?是否有任何功能可以响应。如果您使用过该主题,请帮我删除自适应功能。
答案 0 :(得分:1)
当我问到如何从主题中删除响应时的问题。我得到了_tk主题使用bootstrap 3.0,最新的3.0 bootstrap可以通过响应来停用响应。
Omit the viewport <meta> mentioned in the CSS docs
Override the width on the .container for each grid tier with a single width, for example width: 970px !important; Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the !important with media queries or some selector-fu.
If using navbars, remove all navbar collapsing and expanding behavior.
For grid layouts, use .col-xs-* classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.
You'll still need Respond.js for IE8 (since our media queries are still there and need to be processed). This disables the "mobile site" aspects of Bootstrap.
答案 1 :(得分:-1)
删除css或head
中的媒体查询寻找(类似)
<强>头强>
<link rel='stylesheet' media='screen and (min-width: 701px)'>
或
<强> CSS 强>
@media screen {
/* whatever */
}
答案 2 :(得分:-1)
您正在使用引导程序。从您的bootstrap css中移除媒体查询,以下是路径
includes/resources/bootstrap/css/bootstrap.css
以及标题
下面的行<meta name="viewport" content="width=device-width, initial-scale=1.0">