我对我的主题做了一些改变,我一定把它搞砸了!我的标题图片只显示了一半......问题出在哪里?我已经尝试了很多东西,我没有解决问题,如果按照我的网址:www.vincihairclinic.net
这是我的标题代码:
<div id="nav">
<?php /* The navigation menu */ ?>
<div id="header-menu-wrap" class="clearfix">
<?php
/* Header menu */
$args = array(
'container' => '',
'menu_id' => 'header-menu',
'menu_class' => graphene_get_menu_class( 'menu clearfix' ),
'fallback_cb' => 'graphene_default_menu',
'depth' => 5,
'theme_location' => 'Header Menu',
);
if ( ! $graphene_settings['disable_menu_desc'] )
$args = array_merge( $args, array( 'walker' => new Graphene_Description_Walker() ) );
wp_nav_menu( apply_filters( 'graphene_header_menu_args', $args ) ); ?>
这是我的 style.css 代码:
#header-menu-wrap
position: relative;
margin-top: -325px;
float: left;
z-index: 50;
padding-left: 1px;
}
#header-menu
display: table !important;
margin: 0 auto !important;
}
.have-secondary-menu #header-menu-wrap
border-bottom: 1px solid #000;
}
.dropdown #header-menu-wrap
background: none;
border: none;
}
#header-menu,
#secondary-menu
margin: 0 10px;
z-index: 20;
}
#header-menu > li
font: normal 14px arial;
margin: 0 0 0 5px;
}
#header-menu > li:first-child
margin-left: 0;
}
#header-menu > li > a
color: #fff;
line-height: 16px;
padding: 9px 10px 10px;
}
#header-menu > li > a > .desc
display: block;
font-size: 11px;
color: #aaa;
}
#header-menu > li.menu-item-ancestor > a {
background: url(images/sprite_master.png) -877px -236px no-repeat transparent;
padding-left: 26px;
}