【发布时间】:2013-08-20 08:56:17
【问题描述】:
我要学习响应式网站设计的引导程序并下载它并在 joomla 2.5 中设置以下内容:
- 解压引导包并用资产重命名
- 复制了模板内的assets文件夹(beez5)
- 在 index.php 的
<head>部分定义了以下内容:
<meta charset="utf-8">
<jdoc:include type="head" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/assets/css/bootstrap.css" type="text/css" media="screen" />
为了测试它的 css,我在 bootstrap.css 中将 background-color: red !important; 定义为 container-fluid,并在 index.php 的主 div 中添加了一个类 container-fluid,但我认为 css 不起作用。我的意思是引导 css 没有加载。
问题:如何在 joomla 2.5 中为响应式网站实现 bootstrap css?
【问题讨论】:
标签: twitter-bootstrap responsive-design