← WordPress

Alterar largura de sidebar

Lida 1855 vezes

Offline

swing 
Membro
Mensagens 3126 Gostos 41
Feedback +13

Troféus totais: 32
Trófeus: (Ver todos)
Avatar Level 6 Linux User Mobile User Windows User Super Combination Combination Topic Starter Poll Voter Level 5

Olá,

Quero editar a largura do tema e da sidebar, mas estou com algumas dificuldades, pois altero no style.css mas esta td na mesma :superlol:
Quero que a sidebar ( do lado direito seja mais largo e do lado esquerdo mais estreito)
Aqui está o código, quem me puder dar uma ajuda, agradeço


Left Sidebar
*********************************************/
#sidebar {
   display: inline;
   float: left;
   border: 0px solid black;
   width: 300px;
   margin: 0px; padding: 0px 0px 0px 10px;
   display: block; /* floats are handled as block elements, this is to fix
                  a margin collapsing bug in IE */
}
#sidebar h2 { /* This style used as header in the sidebars */
   background: #666;
   font-size: 15px;
   color: #FFF;
   font-family: Georgia, Arial, Sans-Serif;
   margin: 0px 0px 10px 0px;
   padding: 8px;
   font-weight: normal;
   text-transform: uppercase;
}
#sidebar embed, #sidebar object {
   width: 300px; height: 230px;
   margin: 0px; padding: 0px;
}
#sidebar p {
   padding: 5px;
}
#sidebar img {
   text-align: center;
}
#sidebar form {
   padding: 0px;
   margin: 5px;
}
#sidebar ul {
   list-style-type: none;
   padding: 0px;
   margin: 0px;
}
#sidebar ul li {
   padding: 0px 0px 10px 0px;
}
#sidebar ul li ul {
   padding: 0px 0px 0px 0px;
}
#sidebar ul li ul li {
   padding: 0px;
   margin: 5px;
}
#sidebar ul li ul li a {
   text-decoration: none;
}
#sidebar ul li ul li a:hover {
   text-decoration: underline;
}
#sidebar ul li ul li ul {
   padding: 0px;
   margin: 0px;
}
#sidebar ul li ul li ul li {
   padding: 0px;
   margin: 5px 10px 5px 5px;
}

/*********************************************
      Left Sidebar QuickLinks
*********************************************/
#sidebar #quicklinks {
   
}
#sidebar #quicklinks ul li ul li {
   margin: 0;
}
#sidebar #quicklinks a {
   display: block;
   margin: 10px 0px;padding: 0px 0px 0px 50px;
}
#sidebar #quicklinks a.search {
   height: 33px; line-height: 33px;
   background: url(images/icons.jpg) 0px -7px no-repeat;
}
#sidebar #quicklinks a.rss {
   height: 32px; line-height: 32px;
   background: url(images/icons.jpg) 0px -48px no-repeat;
}
#sidebar #quicklinks a.podcast {
   height: 36px; line-height: 36px;
   background: url(images/icons.jpg) 0px -91px no-repeat;
}
#sidebar #quicklinks a.upcoming {
   height: 30px; line-height: 30px;
   background: url(images/icons.jpg) 0px -135px no-repeat;
}
#sidebar #quicklinks a.storefront {
   height: 34px; line-height: 34px;
   background: url(images/icons.jpg) 0px -178px no-repeat;
}
#sidebar #quicklinks a.shopping {
   height: 27px; line-height: 27px;


   background: url(images/icons.jpg) 0px -224px no-repeat;
}
#sidebar #quicklinks a.address {
   height: 30px; line-height: 30px;
   background: url(images/icons.jpg) 0px -264px no-repeat;
}
#sidebar #quicklinks a.download {
   height: 33px; line-height: 33px;
   background: url(images/icons.jpg) 0px -304px no-repeat;
}

/*********************************************
      Comment Styles
*********************************************/
#comments {
   padding: 8px;
}
#comments .even {
   margin: 5px 0px 5px 0px;
   padding: 10px;
   background: #FFFFFF;
   overflow: hidden;
   border-bottom: 1px dotted #B7B7B7;
}
#comments .odd {
   margin: 5px 0px 5px 0px;
   padding: 10px;
   background: #FFFFFF;
   overflow: hidden;
   border-bottom: 1px dotted #B7B7B7;
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Olá Swing,

coloca ai o URL do site ou envia-me por MP, é mais fácil para te ajudar.