0

在网站上

导航栏不可见

任何 CSS 问题?

4

2 回答 2

1

看看wp-content/themes/immotech/style.css第 184 行:

#top #nav ul {
  display: none;

而且您的网站上有很多错误:

GET http://it.mediameans.de/themes/default/default.css 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/nivo-slider.css 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/js/cufon.js 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/js/quicksand.font.js 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/js/jquery.js 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/js/custom.js 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/scripts/jquery-1.7.1.min.js 404 (Not Found) http://it.mediameans.de/:14
GET http://it.mediameans.de/jquery.nivo.slider.pack.js 404 (Not Found) http://it.mediameans.de/:14
Uncaught TypeError: Property '$' of object [object Window] is not a function http://it.mediameans.de/:217
GET http://it.mediameans.de/wp-content/themes/immotech/images/skin2/border_vertical.png 404 (Not Found) http://it.mediameans.de/:105
于 2012-04-26T11:44:41.600 回答
1

打开位于主题文件夹中的 header.php 文件

位于此部分..

<link rel="stylesheet" href="themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/cufon.js'></script>
<script type='text/javascript' src='js/quicksand.font.js'></script>
<script type='text/javascript' src='js/custom.js'></script>

将其更改为

// if you want to use the default stylesheet, copy the file default.css from the default theme folder and paste it into your theme folder,
<link rel="stylesheet" href="<?php bloginfo('template_directory');?>/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory');?>/nivo-slider.css" type="text/css" media="screen" />
<script type='text/javascript' src='<?php bloginfo('template_directory');?>/js/jquery.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_directory');?>/js/cufon.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_directory');?>/js/quicksand.font.js'></script>
<script type='text/javascript' src='<?php bloginfo('template_directory');?>/js/custom.js'></script>

确保文件位于应加载的主题文件夹中的正确文件夹中...

阅读文档http://codex.wordpress.org/Theme_Development

于 2012-04-26T11:57:51.007 回答