Logo Insertion at head….just need some syntax help
-
/* = header.css
————————————————— */
<?php $sitename = 1; ?>
/** Branding **/
<?php if (‘0’ == $sitename) : ?>
#branding {
margin: 35px 0 0 0;
padding: 0;
float: left;
height: 60px;
}
#branding #site-title {
display: block;
margin: 0;
padding: 0;}
#branding #site-title a {
display: block;
margin: 0;
padding: 0;
color: #fff;
font: bold 50px/60px ‘Expletus Sans’, serif;
text-shadow: #666 1px 1px;
}
#branding #site-title a:hover {
text-decoration: none;
}
<?php else : ?><?php
$image = Padd_Theme_Option::get(‘images/logo.png’);
$val = getimagesize($image);
?>
#branding {
margin: 35px 0 0 0;
padding: 0;
float: left;
width: <?php echo $val[0]; ?>px;
height: <?php echo $val[1]; ?>px;
}
#branding #site-title {
display: block;
margin: 0;
padding: 0;
}
#branding #site-title a {
display: block;
margin: 0;
padding: 0;
height: <?php echo $val[1]; ?>px;
text-indent: -99999px;
background: transparent url(‘<?php echo $image; ?>’) left center no-repeat;
}
<?php endif; ?>
#branding #site-description {
display: none;
}/** Search **/
#header .widget_search {
position: absolute;
top: 22px;
right: 0;
}
#header .widget_search form {
height: 25px;
}
#header .widget_search label {
display: none;
}
#header .widget_search input {
width: 210px;
border: 0 none;
margin: 0;
padding: 6px 10px;
float: left;
background: transparent url(‘../images/input-search-header.png’) 0 50% no-repeat;
color: #fff;
font-size: 11px;
line-height: 11px;
}
#header .widget_search button {
width: 35px;
height: 25px;
border: 0 none;
margin: 0;
float: left;
background: transparent url(‘../images/button-search-header.png’) 0 50% no-repeat;
cursor: pointer;
}
#header .widget_search button span {
display: none;
}The blog I need help with is: (visible only to logged in users)
-
The blog you specified at radatechnologies.com does not appear to be hosted at WordPress.com.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
Please ask for help at http://wordpress.org/support/ or from the theme developer directly.
- The topic ‘Logo Insertion at head….just need some syntax help’ is closed to new replies.