Php 调整Wordpress主题标题/徽标的大小
如何调整标题区域的大小以插入更大的徽标。徽标高度调整不正确。这是一个特定的主题。我将包括标题代码和css代码 CSS: 标题代码:Php 调整Wordpress主题标题/徽标的大小,php,wordpress,Php,Wordpress,如何调整标题区域的大小以插入更大的徽标。徽标高度调整不正确。这是一个特定的主题。我将包括标题代码和css代码 CSS: 标题代码: <body <?php body_class(); ?>> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <div class="topbar"> <d
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<header id="masthead" class="site-header" role="banner">
<div class="topbar">
<div class="container_6">
</div>
</div>
<div class="top cf ">
<div class="container_6">
<div class="head cf">
<div class="logo grid_2">
<h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>">
<img style="float: left;" src="linktomylogo/newlogo1.png" alt="" width="148" height="90" /> </a>
</h1>
<h2 class="site-description">
<?php bloginfo( 'description' ); ?>
</h2>
</div>
<div id="botmenu" class="grid_4">
<p><?php shailan_dropdown_menu( ); ?></p>
<?php wp_nav_menu( array( 'container_id' => 'submenu', 'theme_location' => 'primary','menu_id'=>'web2feel' ,'menu_class'=>'sfmenu','fallback_cb'=> 'fallbackmenu' ) ); ?>
</div>
</div>
</div>
</div>
</header><!-- #masthead .site-header -->
<div id="main" class="site-main cf">
我已经改变了一些事情,但它弄乱了网站。图像的高度应该在200像素左右,而不是90像素
谢谢徽标放置在div内,类别为
top
,另一个类别为head
。我在下面稍微修改了他们的CSS
.top{
background:url(images/top.png) repeat-x;
height:200px; /* Change the height here */
}
.head{
background:url(images/head.png) center no-repeat;
height:200; /* and here */
}
谢谢成功了。我不得不删除top.png图像,因为调整后它看起来不太好。白色背景效果很好。
.top{
background:url(images/top.png) repeat-x;
height:200px; /* Change the height here */
}
.head{
background:url(images/head.png) center no-repeat;
height:200; /* and here */
}