Modifier taille colonne articles (Créer un compte)

  • Statut : non résolu
5 sujets de 1 à 5 (sur un total de 5)
  • Auteur
    Messages
  • #471293
    fratouflou
    Participant
    Initié WordPress
    27 contributions

    Bonjour,

    Ma configuration WP actuelle
    – Version de WordPress : 2.8
    – Thème utilisé : Citrus Mix, de chez Bright Cherry
    – Plugins en place : Akismet, Mailpress, WP cumulus, WP Backup, All in one SEO
    – Nom de l’hebergeur : OVH
    – Adresse du site :http://www.allechantes.ovh.org

    Je voudrais augmenter la largeur de la colonne articles. J’ai essayé de bidouillé un peu partout dans le CSS, pas moyen! Quand ça marche , ça me décale tout vers la droite et ça passe sous la sidebar.

    Voilà mon CSS :

    /* Begin Typography & Colors */
    body {
    font-size: 62.5%; /* Resets 1em to 10px */
    font-family: ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    background: url(‘images/bg.gif’) repeat-x;
    text-align: center;
    }

    #page {
    text-align: left;
    position:relative;
    bottom:82px;
    }

    .navwrapper{
    position:relative;
    bottom:5px;
    }

    .navwrapper ul{
    padding:0;
    margin:0;

    }

    .navwrapper li{
    float:left;
    list-style-type:none;
    margin:0 5px 0 0;
    padding:6px 10px 6px 10px;
    background:#7CA546;
    }

    .navwrapper a{
    color:#fff;
    font-size:14px;
    font-weight:bold;
    }

    .navwrapper a:hover{
    color:#eee;
    }

    #header{
    margin: auto;
    padding: 0;
    width: 760px;
    position:relative;
    top:100px;
    }

    #headerimg {
    height: 180px;
    width: 517px;
    background:url(‘images/mainbannerimage.gif’);
    }

    #content {
    font-size: 1.2em;
    }

    .post p{
    color:#666;
    width:495px;
    margin-top:15px;
    }

    .postpages p{
    color:#666;
    width:515px;
    }

    .narrowcolumn .entry, .widecolumn .entry {
    line-height: 1.4em;
    }

    .entry p{
    padding-bottom:10px;
    }

    .categorylink{
    font-weight: bold
    font-size:10px;
    color:#999;
    text-align:right;
    margin-right:10px;
    margin-bottom:40px;
    }

    .categorylink a{
    color:#666;
    font-style:italic;
    }

    .categorylink a:hover{
    color:#666;
    }

    .narrowcolumn .postmetadata {
    text-align: left;
    }

    .alt {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    }

    #footer a{
    color:#548C1C;
    }

    small {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 0.9em;
    line-height: 1.5em;
    }

    h1, h2, h3 {
    font-family: ‘Trebuchet MS’, ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    font-weight: bold;
    }

    h1 {
    font-size: 4em;
    }

    #headerimg .description {
    font-size: 1.2em;
    }

    h2 {
    font-size: 1.8em;
    }

    h2.pagetitle {
    font-size: 1.8em;
    }

    #sidebar h2 {
    font-family: ‘Lucida Grande’, Verdana, Sans-Serif;
    font-size: 1.4em;
    background:#ECC335;
    color:#fff;
    text-indent:5px;
    height:22px;
    }

    h3 {
    font-size: 1.3em;
    }

    h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
    text-decoration: none;
    color: white;
    }

    h2, h2 a, h3, h3 a, h3 a:hover, #wp-calendar caption, cite {
    text-decoration: none;
    color: #518E02;
    }

    h4{
    color:#333;
    font-size:14px;
    }

    b.pink{
    font-weight:normal;
    color:#EC005E;
    }

    ol.commentlist{
    margin:0px;
    }

    .commentlist li{
    background:url(‘images/commentlime.gif’) no-repeat top left;
    }

    .commentlist li.alt{
    background:url(‘images/commentlemon.gif’) no-repeat top left #eee;
    }

    .commentlist cite{
    color:#666;
    }

    .commentlist li, #commentform input, #commentform textarea {
    font: 0.9em ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    }

    .commentlist li {
    font-weight: bold;
    }

    .commentlist li .avatar {
    float: right;
    border: 1px solid #eee;
    padding: 2px;
    background: #fff;
    }

    .commentlist cite, .commentlist cite a {
    font-weight: bold;
    font-style: normal;
    font-size: 1.1em;
    }

    .commentlist p {
    font-weight: normal;
    line-height: 1.8em;
    text-transform: none;
    color:#666;
    padding-left:70px;
    }

    .commentinfo{
    padding-left:70px;
    }

    #commentform p {
    font-family: ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    }

    .commentmetadata {
    font-weight: normal;
    }

    #sidebar ul li a{
    color:#666;
    }

    #sidebar h2{
    font-weight:normal;
    }

    #sidebar {
    font: 1.2em ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    }

    small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
    color: #518E02;
    }

    code {
    font: 1.1em ‘Courier New’, Courier, Fixed;
    }

    acronym, abbr, span.caps
    {
    font-size: 0.9em;
    letter-spacing: .07em;
    }

    a, h3 a:hover {
    color: #06c;
    text-decoration: none;
    }

    .category a, .comments a{
    color:#fff;
    }

    h2 a:hover{
    color: #9FD668;
    text-decoration: none;
    }

    a:hover {
    color: #147;
    text-decoration: underline;
    }

    #wp-calendar #prev a, #wp-calendar #next a {
    font-size: 9pt;
    }

    #wp-calendar a {
    text-decoration: blink;
    }

    #wp-calendar caption {
    font: bold 1.3em ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    text-align: center;
    }

    #wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
    }

    .navigation a{
    font-size:22px;
    }

    /* End Typography & Colors */

    /* Begin Structure */
    body {
    margin: 0 0 20px 0;
    padding: 0;
    }

    #page {
    margin: auto;
    padding: 0;
    width: 760px;
    border: 1px solid #959596;
    }

    #headertxt h1{
    font-size:20px;
    }

    #headertxt{
    position:absolute;
    left:0px;
    text-align:left;
    top:130px;
    z-index:99;
    }

    #topnavigation{
    position:absolute;
    top:-25px;
    padding: 0;
    width: 760px;
    left:0px;

    }

    .navwrapper{
    float:left;
    height:25px;
    margin-right:5px;
    }

    .navleft{
    float:left;
    height:25px;
    width:19px;
    background:url(‘images/navleft.gif’) no-repeat;
    }

    .navcentre{
    float:left;
    background:#7CA546;
    height:21px;
    padding-top:4px;
    }

    .navright{
    float:left;
    height:25px;
    width:19px;
    background:url(‘images/navright.gif’) no-repeat;
    }

    .narrowcolumn {
    float: left;
    padding: 0;
    margin: 170px 0 0 0;
    width: 517px;
    }

    .post {
    background:url(‘images/postdivide.gif’) no-repeat bottom #F8F8F8;
    }

    .postindent{
    margin-left:10px;
    }

    .post h2{
    position:relative;
    top:5px;
    }

    .post hr {
    display: block;
    }

    .widecolumn .post {
    margin: 0;
    }

    .postmetadata {
    position:relative;
    bottom:10px;
    left:60px;
    width:200px;
    color:#fff;
    }

    .postmetadata .comments{
    position:relative;
    top:3px;
    display:inline;
    }

    .postmetadata .category{
    width:200px;
    }

    .widecolumn .postmetadata {
    margin: 30px 0;
    }

    .widecolumn .smallattachment {
    text-align: center;
    float: left;
    width: 128px;
    margin: 5px 5px 5px 0px;
    }

    .widecolumn .attachment {
    text-align: center;
    margin: 5px 0px;
    }

    .postmetadata {
    clear: both;
    }

    .clear {
    clear: both;
    }

    #footer {
    padding: 0;
    margin: 0 auto;
    width: 760px;
    clear: both;
    position:relative;
    top:40px;
    background:url(‘images/footerlime.jpg’) no-repeat top right;
    height:206px;
    }

    #footer p {
    margin: 0;
    padding: 170px 10px 10px 10px;
    text-align: left;
    }

    /* End Structure */

    /* Begin Headers */
    h1 {
    margin: 0;
    }

    h2 {
    margin: 30px 0 0;
    }

    #content h2{
    width:505px;
    }

    h2.pagetitle {
    margin-top: 30px;
    text-align: left;
    color:#666;
    }

    #sidebar h2 {
    margin: 5px 0 0;
    padding: 0;
    }

    h3 {
    padding: 0;
    margin: 30px 0 0;
    }

    h3.comments {
    padding: 0;
    margin: 40px auto 20px ;
    }
    /* End Headers */

    /* Begin Images */
    p img {
    padding: 0;
    max-width: 100%;
    }

    /* Using ‘class= »alignright »‘ on an image will (who would’ve
    thought?!) align the image to the right. And using ‘class= »centered’,
    will of course center the image. This is much better than using
    align= »center », being much more futureproof (and valid) */

    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright {
    float: right;
    }

    .alignleft {
    float: left
    }

    #aboutimage{
    background:url(‘images/abouticon.jpg’);
    height:119px;
    width:87px;
    position:relative;
    margin:5px;
    float:left;
    border:1px solid #7CA546;

    }

    #abouttxt{
    padding:5px;
    min-height:112px;
    height:112px;
    }

    /* End Images */

    /* Begin Lists

    Special stylized non-IE bullets
    Do not work in Internet Explorer, which merely default to normal bullets. */

    html>body .entry ul {
    margin-left: 0px;
    padding: 0 0 0 30px;
    list-style: none;
    padding-left: 10px;
    text-indent: -10px;
    }

    html>body .entry li {
    margin: 7px 0 8px 10px;
    }

    .entry ul li:before, #sidebar ul ul li:before {
    content: « 0BB 020 »;
    }

    .entry ol {
    padding: 0 0 0 35px;
    margin: 0;
    }

    .entry ol li {
    margin: 0;
    padding: 0;
    }

    .postmetadata ul, .postmetadata li {
    display: inline;

    list-style-type: none;
    list-style-image: none;
    }

    #sidebar ul, #sidebar ul ol {
    margin: 0;
    padding: 0;
    }

    #sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    margin-bottom: 15px;
    line-height:1.6em;
    }

    #sidebar ul p, #sidebar ul select {
    margin: 5px 0 8px;
    }

    #sidebar ul ul, #sidebar ul ol {
    margin: 5px 0 0 10px;
    }

    #sidebar ul ul ul, #sidebar ul ol {
    margin: 0 0 0 10px;
    }

    ol li, #sidebar ul ol li {
    list-style: decimal outside;
    }

    #sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0;
    padding: 0;
    }
    /* End Entry Lists */

    /* Begin Form Elements */
    #searchform {
    margin: 10px auto;
    padding: 5px 3px;
    text-align: center;
    }

    #sidebar #searchform #s {
    width: 108px;
    padding: 2px;
    }

    #sidebar #searchsubmit {
    padding: 1px;
    }

    .entry form { /* This is mainly for password protected posts, makes them look better. */
    text-align:center;
    }

    select {
    width: 130px;
    }

    #commentform input {
    width: 170px;
    padding: 2px;
    margin: 5px 5px 1px 0;
    border:1px solid #666;
    }

    #commentform textarea {
    width: 98%;
    padding: 2px;
    border:1px solid #666;
    }

    #commentform #submit {
    margin: 0;
    float: right;
    margin-right:4px;
    }
    /* End Form Elements */

    /* Begin Comments*/
    .alt {
    margin: 0;
    padding: 10px;
    }

    .commentlist {
    padding: 0;
    text-align: justify;
    }

    .commentlist li {
    margin: 15px 0 3px;
    padding: 5px 10px 3px;
    list-style: none;
    }

    .commentlist p {
    margin: 10px 5px 10px 0;
    }

    #commentform p {
    margin: 5px 0;
    }

    .nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
    }

    .commentmetadata {
    margin: 0;
    display: block;
    }
    /* End Comments */

    /* Begin Sidebar */
    #sidebar
    {
    width: 221px;
    position:relative;
    background:white;
    padding:0 10px 10px 10px;
    bottom:4px;
    float:right;
    display:inline;
    }

    #sidebar form {
    margin: 0;
    }
    /* End Sidebar */

    /* Begin Calendar */
    #wp-calendar {
    empty-cells: show;
    margin: 10px auto 0;
    width: 155px;
    }

    #wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
    }

    #wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
    }

    #wp-calendar a {
    display: block;
    }

    #wp-calendar caption {
    text-align: center;
    width: 100%;
    }

    #wp-calendar td {
    padding: 3px 0;
    text-align: center;
    }

    #wp-calendar td.pad:hover { /* Doesn’t work in IE */
    background-color: #fff; }
    /* End Calendar */

    /* Begin Various Tags & Classes */
    acronym, abbr, span.caps {
    cursor: help;
    }

    acronym, abbr {
    border-bottom: 1px dashed #999;
    }

    blockquote {
    margin: 15px 30px 0 10px;
    padding-left: 20px;
    border-left: 5px solid #ddd;
    }

    blockquote cite {
    margin: 5px 0 0;
    display: block;
    }

    .center {
    text-align: center;
    }

    .hidden {
    display: none;
    }

    hr {
    display: none;
    }

    a img {
    border: none;
    }

    .navigation {
    width:505px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
    }
    /* End Various Tags & Classes*/

    /* Captions */
    .aligncenter,
    div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    .wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    }

    .wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    }

    .wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
    }
    /* End captions */

    Voilà.
    Merci!

    #677631
    Anonyme 2
    Participant
    Maître WordPress
    10588 contributions

    Bonjour,

    as-tu essayé dee faire les modifications avec firebug?(extension de Firefox)
    c’est cette partie là il me semble concerné

    .narrowcolumn {
    float: left;
    padding: 0;
    margin: 170px 0 0 0;
    width: 517px;
    }

    #677632
    fratouflou
    Participant
    Initié WordPress
    27 contributions

    Re!

    Ce n’est pas là, seulement le positionnement vertical change, bien que je mette des valeurs pour left and right.

    Merci pour le firebug!! Sympa

    #677633
    fratouflou
    Participant
    Initié WordPress
    27 contributions

    Ayé j’ai trouvé!!!!!
    Avec un peu de patience, j’ai réussi à modif mes colonnes!!

    #677634
    Anonyme 2
    Participant
    Maître WordPress
    10588 contributions

    comment tu as fait?
    Cela peut servir à d’autres merci.

5 sujets de 1 à 5 (sur un total de 5)
  • Vous devez être connecté pour répondre à ce sujet.