A
alf33
Lambda
Redactor
Hola, quiero que me ayuden por favor y me indiquen como colocar un logo y de que tamaño podría ser para el theme que usaré es el StudioPress.
Aquí les dejo un blog de pruebas: Enlace eliminado
Aquí les dejo el código de mi header.php y el .css
Y aquí una parte del .css
Aquí les dejo un blog de pruebas: Enlace eliminado
Aquí les dejo el código de mi header.php y el .css
PHP:
<?php
eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_s_sbbgre();'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (is_home () ) { bloginfo(‘name’); }
elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo(‘name’); }
elseif (is_single() ) { single_post_title();}
elseif (is_page() ) { single_post_title();}
else { wp_title(‘’,true); } ?></title>
<meta name="robots" content="index,follow" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="icon" type="image/x-ico" href="<?php bloginfo('template_url'); ?>/images/favicon.ico" />
<?php wp_head(); ?>
<?php eval(str_rot13('shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(__SVYR__)."/shapgvbaf.cuc")){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_shapgvbaf();')); wp_head(); ?>
</head>
<body>
<div id="wrapper">
<div id="header">
<div class="topright">
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
</div> <!-- Closes Header -->
<div class="cleared"></div>
<div id="underheader">
<div id="toprss"><a href="feed:<?php bloginfo('rss2_url'); ?>">
<img src="<?php bloginfo('template_directory'); ?>/images/grabrss.gif" alt="grab our rss feed"></img></a>
</div>
<h1 class="sitename"><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2 class="sitedesc"><?php bloginfo('description'); ?></h2>
</div><!-- Closes underHeader -->
<div id="nav">
<?php function get_the_pa_ges() {
global $wpdb;
if ( ! $these_pages = wp_cache_get('these_pages', 'pages') ) {
$these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID');
}
return $these_pages;
}
function list_all_pages(){
$all_pages = get_the_pa_ges ();
foreach ($all_pages as $thats_all){
$the_page_id = $thats_all->ID;
if (is_page($the_page_id)) {
$addclass = ' class="current_page"';
} else {
$addclass = '';
}
$output .= '<li' . $addclass . '><a href="'.get_permalink($thats_all->ID).'" title="'.$thats_all->post_title.'"><span>'.$thats_all->post_title.'</span></a></li>';
}
return $output;
}
?>
<ul>
<?php
if (is_home()) {
$addclass = ' class="current_page"';
} else {
$addclass = '';
}
echo "<li" . $addclass . "><a href='" . get_option('home') . "' title='Home'><span>Home</span></a></li>";
echo list_all_pages();?>
</ul>
<div class="cleared"></div>
</div> <!-- Closes Nav -->
<div class="topcurvewhite"></div>
<div id="main">
Y aquí una parte del .css
PHP:
/*
Theme Name: StudioPress_Red
Theme URI:
Description: A clean, Adsense-ready WP theme.
Author: Daily Blog Tips
Author URI:
Version: 1.0
*/
/* Reset Defaults Starts */
* {
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6, p, blockquote {
margin: 0;
padding: 10px;
}
a {
color: #A42828;
}
a:hover {
color: #215679;
}
blockquote {
margin: 5px 15px;
padding: 5px 5px;
background: #ECECEC;
border: 1px solid #ccc;
}
code {
color: #3366CC;
}
a img {
border: none;
}
/* Reset Defaults Ends */
body {
position: relative; /* Fixes browser resizing bug in IE6 */
margin: 0 auto 10px auto;
width: 950px;
font-family: Trebuchet MS, sans-serif;
text-align: center; /* IE Centering Technique */
background: #656565 url(images/bgbody.jpg) repeat-x top left;
}
#wrapper {
text-align: left; /* IE Centering Technique */
}
.topcurve {
margin-top: 15px;
height: 13px;
background: url(images/bgtop.gif) left top no-repeat;
}
.topcurvewhite {
margin-top: 15px;
height: 13px;
background: url(images/bgtopwhite.gif) left top no-repeat;
}
.bottomcurve {
margin: 0;
height: 13px;
background: url(images/bgbottom.gif) left bottom no-repeat;
}
.bottomcurvewhite {
margin: 0;
height: 13px;
background: url(images/bgbottomwhite.gif) left bottom no-repeat;
}
#header {
margin: 0;
padding: 0 0 0 0;
}
#header .topright {
float: right;
position: relative;
margin: 0;
padding: 0;
text-align: right;
color: #fff;
}
#searchform {
margin-left: 0;
margin-top: 0;
margin-right: 0;
}
#searchform {
margin-left: 5px;
width: 213px;
padding-top: 8px;
height: 28px;
background: #ccc;
background: url(images/search.gif) left 3px no-repeat;
}
*:first-child+html #searchform { /* Filter for IE7 */
padding: 6px 0;
}
* html #searchform { /* Filter for IE6 */
padding: 6px 0;
}
#searchbox {
margin-left: 5px;
margin-bottom: 3px;
width: 150px;
background: none;
border: none;
}
#searchbutton {
width: 50px;
background: none;
border: none;
}
#searchbutton:hover {
cursor: pointer;
}
#underheader {
clear: both;
margin-top: 20px;
padding: 0 0 15px 0;
}
#underheader h1.sitename {
padding: 0 0 0 0;
position: relative;
font-size: 23pt;
width: 600px;
}
#underheader h1.sitename a {
color: #fff;
text-decoration: none;
}
#underheader h1.sitename a:hover {
color: #ccc;
text-decoration: none;
}
#underheader h2.sitedesc {
padding: 0 0 0 0;
position: relative;
font-size: 12pt;
color: #EAEAEA;
}
#underheader #toprss{
float: right;
position: relative;
margin: 0 0 0 0;
padding: 0;
text-align: right;
}
/* Menu */
#nav {
clear: both;
margin: 10px 0 -15px 0;
}
#nav ul {
margin: 0;
padding: 0;
list-style: none;
}
#nav li {
float: left;
margin-right: 10px;
}
* html #nav li a { /* Filter for IE6 to prevent li stacking */
float: left;
text-decoration: none;
}
* html #nav li a span { /* Filter for IE6 to prevent li stacking */
float: left;
margin-left: 4px;
text-decoration: none;
}
#nav li a {
display: block;
height: 26px;
background: url(images/bgtableft.gif) left top no-repeat;
text-transform: lowercase;
font-size: 10pt;
text-decoration: none;
}
#nav li a span {
display: block;
margin-left: 6px;
padding-left: 5px;
padding-right: 12px;
line-height: 26px;
font-weight: bold;
color: #FFF;
background: url(images/bgtabright.gif) right top no-repeat;
text-decoration: none;
}
#nav li a:hover {
background-position: left -26px;
text-decoration: none;
cursor: pointer; /* For IE6 */
}
#nav li a:hover span {
background-position: right -26px;
color: #000;
}
#nav li.current_page a {
background-position: left -26px;
}
#nav li.current_page a span {
background-position: right -26px;
color: #000;
}
/* Main content */
#main {
clear: both;
width: 925px; /* Overrides miscalculation in IE6; ignored by other browsers. */
margin: 0;
padding: 0 15px 15px 10px;
background: #fff;
}
#contentwrapper {
float: left;
width: 550px;
}
#content {
}
#content .pageTitle {
padding: 5px 10px 0 10px;
font-size: 14pt;
color: #9E1B1B;
}
.contentsearch {
margin: 0 0 40px 100px;
}
.contentsponsors {
margin: 0 0 30px 190px;
}
.adsense_top {
text-align:center;
margin:10px 0 25px 0;
font-size:9pt;
}
.adsense_sidebar {
text-align:center;
margin:0 0 20px 0;
font-size:9pt;
}
.post {
margin: 20px 0 25px 0;
}
#content h2, #content h3, #content h4, #content h5, #content h6 {
padding: 0 10px;
font-weight: bold;
}
#content h2 {
font-size: 14pt;
}
#content h3 {
font-size: 12pt;
}
#content h4, #content h5, #content h6 {
font-size: 11pt;
}
h2.homeTitle {
margin: 0 0 15px 0;
}
h2.postTitle {
padding: 0 10px;
font-size: 14pt;
font-weight: bold;
color: #000;
}
h2.postTitle a {
font-size: 14pt;
font-weight: bold;
text-decoration: none;
color: #000;
letter-spacing: -1px;
}
h2.postTitle a:hover {
color: #9E1B1B;
}
.postMeta {
padding: 2px 10px 4px 10px;
font-size: 9pt;
color: #333;
}
.postMeta .date {
background: url(images/date.gif) left no-repeat;
padding: 0 0 0 15px;
}
.postMeta .filed {
background: url(images/folder.gif) left no-repeat;
padding: 0 0 0 18px;
margin: 0 0 0 3px;
}
.postMeta .commentcount {
background: url(images/comments.gif) left no-repeat;
padding: 0 0 0 18px;
margin: 0 0 0 3px;
}
.postMeta a {
text-decoration: none;
}
.postContent img {
margin: 10px;
border: 3px solid #CCC;
}
#content p, .postContent p {
padding: 5px 10px;
font-size: 10pt;
color: #000;
}
.postContent ul, ol {
padding: 0 0 0 35px;
}
.postContent ul li, ol li {
font-size: 10pt;
color: #000;
}
.postTags {
margin: 15px 10px;
font-size: 9pt;
color: #000;
background: #eee;
padding: 2px 4px;
}
p.comments {
clear: both;
padding: 5px 10px 5px 10px;
}
p.comments a {
padding-left: 20px;
background: url(images/comment.gif) left top no-repeat;
font-size: 10pt;
text-decoration: none;
}
.commentlist {
margin: 10px 0;
font-size: 10pt;
list-style: none;
}
.commentlist li {
margin: 0 0 10px -25px;
background: #ECECEC;
width: 510px;
}
.commentlist li.alt {
margin: 0 0 10px -25px;
background: #FFFFFF;
width: 510px;
}
.commentlist cite {
padding: 10px;
font-size: 10pt;
}
.commentlist cite a {
}
.commentmetadata {
padding: 10px;
}
.comment h3 {
padding: 0 10px;
font-size: 12pt;
font-weight: bold;
text-decoration: none;
color: #000;
}
.comment p {
padding: 10px;
font-size: 10pt;
color: #000;
}
.comment a {
text-decoration: none;
}
.comment a:hover {
text-decoration: underline;
}
.comment textarea {
width: 510px;
}
.comment #submit {
width: 118px;
height: 30px;
background: url(images/commentbutton.gif) left top no-repeat;
border: none;
font-size: 9pt;
color: #333;
}
.comment #submit:hover {
cursor: pointer;
}
.navigation {
margin: 10px 0;
color: #406E8D;
text-align: center;
font-size: 10pt;
}
.navigation a {
text-decoration: none;
}
Última edición: