Subir Sidebar a la Derecha

  • Autor Autor Javier Salazar
  • Fecha de inicio Fecha de inicio
Javier Salazar

Javier Salazar

1
Ni
Verificación en dos pasos activada
Suscripción a IA
lo que quiero es que me ayuden a subirle el sidebar de este tema Blog de Aplicaciones de Internet, Descargas, Tecnologia, Mac, Windows, iPad, iPhone 4

lo quiero subir que quede a la derecha

aqui dejo el style.css

Insertar CODE, HTML o PHP:
/*
Theme Name:Clean Home
Theme URI:http://midmodesign.com/news/general/our-special-wordpress-theme/
Description:This WordPress theme is one with a minimal, clean looking design and has full CSS widgetization. Special thanks to <a href="http://bryanhelmig.com/">Bryan Helmig</a> of <a href="http://midmodesign.com/">Mid Mo Web Design</a>.
Version:1.2.1
Author:Mid Mo Design
Author URI:http://midmodesign.com/
Tags:white, red, fixed-width, two-columns, right-sidebar

	"Clean Home" by http://midmodesign.com/

	This theme was designed and built by Bryan Helmig
	of Mid Mo Design: http://midmodesign.com/.

	The CSS, XHTML and design is released under the GPL.

*/

h1 { font-family: 'Molengo', arial, serif; }

body {
font-family:Arial, serif;
font-size:13px;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.7em;
}


a {
text-decoration:none;
color: #0021fa;
}


h1 a:hover {
color:#0000FF;
}

hr{
margin-top:35px;
border:0;
border-top:1px dotted #ccc;
width:570px;
color:#fff;
clear:both;
}
#wrapper {
width:740px;
margin:10px auto;
}
#header {
float:left;
width:740px;

margin:0;
}
#logo {
float:left;
width:auto;
padding:18px 0 34px 0;
}
#logo a {
color:#ff2b06;
font-size:60px;
font-weight:600;
text-decoration:none;
border-bottom:none;
letter-spacing:-4px;
background-color:#fff;
}
#logo h2 {
font-size : 18px;
font-weight : 200;
padding : 12px 4px 0 0;
letter-spacing : -1px;
}
#nav {
float:right;
width:auto;
padding:12px 0 0;
}
#nav ul {
height:50px;
float:right;
}
#nav li {
text-align:center;
float:left;
display:inline;
width:auto;
}
#nav li a {
font-size:20px;
font-weight:400;
display:block;
padding:15px;
border-bottom:none;
}
#nav li a:hover {
background-color:#f7f7f7;
}


#headadsense {

width: 740px;
height: 90px;
float:left;

}

#blurb {
width:800px;
height: 90px;
}

#blurb2 {
height: 70px;
float:left;
margin-bottom: 5px;
padding:20px 0 0px 100px;
color:#000;
background: url(images/logo.png) no-repeat;
}

#blurb2 h2 {
margin-top: 7px;
font-family: 'Neucha', arial, serif;
font-size : 15px;
}

#blurb2 h1 a {
font-size : 40px;
font-family: 'Lobster', arial, serif;
text-decoration:none;
color: green;
text-shadow: 3px 3px 3px #d7d7d7;
}

#blurb2 h1 a:hover {
color: green;
}


#blurb:hover {
color:#2C94C9;
}

#content {
width:550px;
float:left;
padding:0 0 30px 0;
min-height:420px;
overflow:hidden;
}

.anun {
padding:0 20px 0 0;
font-size: 12px;
margin-left: 4px;
}

.adsense2 {
margin-bottom: 10px;
margin-left: 10px;
}

.post {
padding:0 30px 0 0;
}
.post p {
margin:14px 0 14px 0;
}
.post em{
font-style:italic;
}
.post h2 {
font-family:Georgia;
font-size:24px;
margin:25px 0 10px 0;
font-weight:normal;
}
.post h1, .post h1 a{
font-family: 'Neucha', arial, serif;
font-size: 32px;
text-shadow: 3px 3px 3px #dedede;
margin-top: 20px;
margin-bottom: 5px;
}

h1 a {
text-decoration:none;
color: #148bfa;
font-weight:600;
}

h1 a:hover {
color: #0021fa;
}

.post h3, .post h4 {
font-family:Georgia;
font-size:20px;
margin:15px 0 10px 0;
font-weight:normal;
}
.post h4 {
font-size:18px;
}
.post h1:hover, .post h2:hover, .post h3:hover, .post h4:hover {
color:#e12000;
}
.post .indent {
padding-left:10px;
}
.post .indent p {
padding-left:10px;
}
.post small {
font-size:11px;
}
.post small a {
font-weight:normal;
}
.post .alignright {
float:right;
margin-left:10px;
}
.post .alignleft {
float:left;
margin-right:10px;
}
.post .aligncenter {
margin:0 auto;
display:block;
}
.post abbr {
font-weight:normal;
}
.post ul{
list-style:circle;
margin:0 0 0 25px;
}
.post ol{
list-style:decimal;
margin:0 0 0 30px;
}
.post .wp-caption {
background:#f7f7f7;
border:1px solid #ccc;
margin:10px;
text-align:center;
padding:5px 0 0;
}
.post .wp-caption-text {
margin:0;
}
.post .wp-caption a, .post .wp-caption a:hover {
border-bottom:0;
}
.post blockquote {
color:#777;
border-left:5px solid #ccc;
margin:15px 30px 0 10px;
padding-left:20px;
}
.post pre {
font-family:courier;
font-size:12px;
letter-spacing:-1px;
margin:14px 0 14px 0;
}
.post .message ul {
margin:12px 0 0;
}
.post .message {
display:none;
background:#0F67A1;
margin-top:10px;
padding:20px;
color:#fff;
}
#comments h3, #comments h4{
font-family:Georgia;
font-size:24px;
margin:35px 0 5px;
font-weight:normal;
}
#comments h4{
font-size:28px;
}
#comments cite{
font-family:Georgia;
font-size:18px;
font-weight:normal;
border-bottom:1px dotted #ccc;
}
#comments em {
font-style:italic;
text-align:right;
}
#comments ol.commentlist li {
margin-top:20px;
border:1px dotted #ccc;
border-right:0;
padding:10px 5px 20px 10px;
min-height:110px;
}
#comments p {
margin:10px 0 0 10px;
width:auto;
}
#comments span {
display:block;
color:#eee;
font-family:Georgia;
font-size:120px;
font-weight:normal;
float:right;
padding-top:25px;
}
#comments ul.formlist {
margin:20px auto;
width:375px;
}
#comments ul.formlist li {
display:block;
margin:10px 0 0;
}
#comments ul.formlist p{
margin:10px 0 0;
text-align:center;
}
#comments input {
font-family:Georgia;
width:370px;
font-size:18px;
font-weight:normal;
}
#comments textarea {
font-family:Georgia;
width:370px;
font-size:18px;
font-weight:normal;
}
#comments li.submitbutton input {
text-align:center;
background:#fff;
border:1px solid #aaa;
color:#000;
font-family:Georgia;
font-weight:normal;
font-size:20px;
width:374px;
}
#comments .center {
text-align:center;
}

#sidebar {
width:290px;
float:right;
margin:0 0 15px 0;
overflow:hidden;
}

.sidebar_left{float:left;width:142px;margin:0 0 10px;}
.sidebar_right{float:right;width:142px;margin:0 0 10px;}
#sidebar h2{color:#fefefe;border-bottom:0px solid #efefef; font-size: 14px;}
#sidebar a{color:#FFFCD1;background:inherit;text-decoration:none;font-size:11px;}
#sidebar a:hover{color:#fffff0;text-decoration:underline;}
.sidebar ul{list-style:none;margin:0;padding:0;}
.sidebar li{list-style-type:none;list-style-position:outside;}
.sidebar li ul li{list-style-type:none;list-style-position:outside;margin-left:10px;}
.rt{background:#82c824;color:#FFF;height:7px;}
.right_articles{font-size:0.9em;background:#20a1c8;color: #fef7f7;margin:0 0 5px;padding:4px 8px 10px;}
.image{float:left;margin:0 9px 3px 0;}
.alignright{float:right;}
.alignleft{float:left;}
.right{display:block;margin:0 }

#etiquetado {
font-size:0.9em;
width:740px;
float:left;
text-align:left;
border-bottom:1px dotted #cccccc;
padding:4px 0 10px 0;
}

#footer {
font-size:0.9em;
width:740px;
float:left;
text-align:left;
border-bottom:1px dotted #cccccc;
padding:4px 0 10px 0;
}

/* 7.1 GnDx Modificaciones */ 
		
.awesome, .awesome:visited {
	background: #222 url(http://gndx.org/images/alert-overlay.png) repeat-x; 
	display: inline-block; 
	padding: 5px 10px 6px; 
	color: #fff; 
	text-decoration: none;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
}
	.awesome:link { color: #fff; text-decoration:none;}
	.awesome:hover { background-color: #111; color: #fff; }
	.awesome:active	{ top: 1px; }
	.small.awesome, .small.awesome:visited 			{ font-size: 11px; padding: ; }
	.awesome, .awesome:visited,
	.medium.awesome, .medium.awesome:visited       { font-size: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
	
	.large.awesome, .large.awesome:visited 			{ font-size: 14px; padding: 8px 14px 9px; }
	
	.super.awesome, .super.awesome:visited 			{ font-size: 14px; padding: 8px 14px 9px; width: 240px; overflow:hidden; }
	.nice.awesome, .nice.awesome:visited 			{ font-size: 14px; padding: 8px 14px 9px; width: 200px; overflow:hidden; }
	.nice2.awesome, .nice2.awesome:visited 			{ font-size: 14px; padding: 8px 14px 9px; width: 320px; overflow:hidden; }
	
	.green.awesome, .green.awesome:visited		{ background-color: #91bd09; }
	.green.awesome:hover						{ background-color: #749a02; }
	.blue.awesome, .blue.awesome:visited		{ background-color: #007d9a; }
	.blue.awesome:hover							{ background-color: #5B98C0; }
	.red.awesome, .red.awesome:visited			{ background-color: #e33100; }
	.red.awesome:hover							{ background-color: #872300; }
	.magenta.awesome, .magenta.awesome:visited		{ background-color: #a9014b; }
	.magenta.awesome:hover							{ background-color: #630030; }
	.orange.awesome, .orange.awesome:visited		{ background-color: #ff5c00; }
	.orange.awesome:hover							{ background-color: #d45500; }
	.yellow.awesome, .yellow.awesome:visited		{ background-color: #ffb515; }
	.yellow.awesome:hover	
	

p.rss2{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(http://gndx.org/wp-content/themes/gsk/images/ico-rss.png) no-repeat left 10px;margin-bottom: 0px;}
p.rss2 a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.feed4{margin-left: 10px; padding-left: 23px; padding-top: 9px; background:url(http://gndx.org/wp-content/themes/gsk/images/ico-feed.png) no-repeat left 10px;}
p.feed4 a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.gcategory{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(http://gndx.org/wp-content/themes/gsk/images/ico-folder.png) no-repeat left 10px;margin-bottom: 0px;}
p.gcategory a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.glinks{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(http://gndx.org/wp-content/themes/gsk/images/ico-msn2.png) no-repeat left 10px;margin-bottom: 0px;}
p.glinks a{color: #4f4f4f;text-decoration:none; font-size:12px;}

#gmailfeed{margin-top:2px;padding:0 8px;}
#gmailfeed input#email {background:#fafafa 4px 4px no-repeat;border:1px solid #ccc;padding:5px 5px 5px 5px;-moz-border-radius:5px;-webkit-border-radius:5px;width:150px;}
#gmailfeed input#buttonsus{margin-top:9px;}

#respond #submit,#gmailfeed input#buttonsus{background-color:#ccc;border:0;padding:5px;text-shadow:1px 1px 1px #fff;-moz-border-radius:5px;-webkit-border-radius:5px;width:80px;}
#respond #submit:hover,#gmailfeed input#buttonsus:hover{background-color: #ccc;cursor:pointer;}
element{ }

p.rss2{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(images/ico-rss.png) no-repeat left 10px;margin-bottom: 0px;}
p.rss2 a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.twitter{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(images/ico-twitter2.png) no-repeat left 10px;margin-bottom: 0px;}
p.twitter a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.facebook{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(images/ico-facebook.png) no-repeat left 10px;margin-bottom: 0px;}
p.facebook a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.google{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(images/ico-google.png) no-repeat left 10px;margin-bottom: 0px;}
p.google a{color: #4f4f4f;text-decoration:none; font-size:12px;}

p.mail{margin-left: 10px; padding-left: 23px; padding-bottom: 0px; padding-right: 0px; padding-top: 9px; background:url(images/ico-mail.png) no-repeat left 10px;margin-bottom: 0px;}
p.mail a{color: #4f4f4f;text-decoration:none; font-size:12px;}
 
Uff el sidebar está dentro del content, lo que tienes q hacer es quitar al sidebar del content y ademas, reducirle su ancho en 100px.
 
A ver... la estructura que tiene la plantilla es esta:

HTML:
<div id="content">
  ...Contenido de content...
  <div id="sidebar">...Contenido de la sidebar...</div> /* la sidebar está dentro del content */
</div>
Y lo que tienes q hacer es esto:

HTML:
<div id="content">
 ...Contenido de content...
 </div>
<div id="sidebar">...Contenido de la sidebar...</div> /* sidebar sacada del content */
Y además, modificar lo siguiente en el style.css:

#wrapper {
width:840px; /* aumento de ancho en 100px para que quepa la sidebar */
margin:10px auto;
}
 
A ver... la estructura que tiene la plantilla es esta:

HTML:
<div id="content">
  ...Contenido de content...
  <div id="sidebar">...Contenido de la sidebar...</div> /* la sidebar está dentro del content */
</div>
Y lo que tienes q hacer es esto:

HTML:
<div id="content">
 ...Contenido de content...
 </div>
<div id="sidebar">...Contenido de la sidebar...</div> /* sidebar sacada del content */

en que archivo modificao esto??
 
en el index.php creo q debe estar
 
Ademas en el archivo Single.php
 
Atrás
Arriba