Affichage de l’index… sous ie?

  • Statut : non résolu
5 sujets de 16 à 20 (sur un total de 20)
  • Auteur
    Messages
  • #626743
    Lumiere de Lune
    Participant
    Maître WordPress
    19385 contributions

    Eh “haut” certes mais en dessous des lignes qui définissent le thème.
    Donc tu prends tout ce qui est entre
    /*
    Theme Name: Atahualpa

    et

    ruthsarian@gmail.com
    */

    et tu le mets tout en haut de ton fichier.
    Ensuite sulement tu commences le code

    #626744
    HeleneR
    Participant
    Maître WordPress
    1545 contributions

    D’un côté, je me sens génée de faire de l’incruste et d’un autre, heu, je l’avais tentée cette manoeuvre
    et ça avait donné la même erreur.
    Comme si le thème devait être réparé ne serait-ce que par un ligne ou je ne sais quoi d’autre.
    Je tente tout de suite et je réponds ici en suivant.
    Mais voilà le code que j’ai remis en suivant les indications.

    /*  
    Theme Name: Atahualpa
    Theme URI: http://wordpress.bytesforall.com
    Description: Fluid width, 3 column theme with changeable header and logo image. Widget-ready, Auto SEO & options page. Valid and browser-safe. This Theme is optimized for WP 2.3.x but works also in 2.2.x and 2.1.x. 
    Version: 1.0
    Author: Bytesforall
    Author URI: http://www.bytesforall.com/
    */
    /*
    *
    *
    YOUR OWN HEADER IMAGE HOW-TO: Upload a “headerimage.jpg” 
    to the directory “/wp-content/themes/atahualpa/images/” in the wordpress 
    installation directory on your server. This is a fluid layout, meaning that 
    the visible width of the header image will depend on the visitor’s screen 
    resolution. To account for bigger screens incl. 1280 pixels, the 
    headerimage.jpg should be 1280 pixels wide or even wider. You can set
    the visible height of the image on the options page. 
    *
    *
    YOUR OWN LOGO ICON IMAGE HOWTO: Upload a “logosymbol.gif” 
    with the size of 50×50 pixels and white background to 
    “/wp-content/themes/atahualpa/images/”.
    
    
    *
    *
    *
    Credits:
    Layout and browser compatibility hacks based on Ruthsarian’s Skidoo Redux 
    http://webhost.bridgew.edu/etribou/layouts/ – ruthsarian@gmail.com
    */
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
     
    body {  line-height: 1; behavior:url(“csshover2.htc”); }
    ol, ul {list-style: none;}
    blockquote, q {quotes: none;}
     
    /* remember to define focus styles! */
    :focus {  outline: 0;}
     
    /* remember to highlight inserts somehow! */
    ins { text-decoration: none;}
    del { text-decoration: line-through;}
     
    /* tables still need ?cellspacing=”0″? in the markup */
    table { border-collapse: collapse; border-spacing: 0; }
     
    img, h1, .class-with-png-background-image { behavior: url(iepngfix.htc);}
    
    ul, ol, dl, p, h1, h2, h3, h4, h5, h6 {margin-top: 10px; margin-bottom: 0px; padding-top: 0; padding-bottom: 0; }
    h2 {margin-top: 0px; margin-bottom: 0px; padding-top: 0; padding-bottom: 0; }
    ul ul, ul ol, ol ul, ol ol {margin-top: 0; margin-bottom: 0; }
    h1 {font-size: 240%; }
    h2 {font-size: 180%; }
    h3 {font-size: 140%; }
    h4 {font-size: 100%; }
    h5 {font-size: 70%; }
    h6 {font-size: 50%; }
    .entry h1, .entry h2, .entry h3, .entry h4 {clear:both;}
    a, a:link, a:visited, a:active {text-decoration: underline; }
    a:hover {text-decoration: none; }
    code, pre {font-family: “Courier New”, Courier, monospace; }
    label {cursor: pointer; }
    table {font-size: 100%; }
    td, th {vertical-align: top; }
    body {font-size: 100.1%; }
    /*********************************************************/
    .clear-columns {clear: both; }
    #outer-column-container {border-left: solid 13em #fff; border-right: solid 13em #fff; }
    #inner-column-container {width: 100%; }
    #source-order-container {float: left; width: 100%; margin-right: -1px; }
    #left-column {float: left; margin-left: -13em; width: 13em; margin-right: 1px; }
    #middle-column {float: right; width: 100%; margin-left: -1px; }
    #right-column {float: right; margin-right: -13em; width: 13em; margin-left: 1px; }
    /*****BASE THEME**************************************/
    body {background-color: #ccc; color: #000; padding: 0; margin: 14px 0; }
    #masthead {padding-top: 1px; border-bottom: solid 1px #000; }
    /**************** change middle column left and right borders *****************/
    #inner-column-container
    {border: solid 0px #000; border-width: 0 0px; margin: 0 -0px; }
    
    
    #middle-column div.rMenu-center {border-bottom: solid 1px #000; }
    #footer {border-top: solid 1px #000; padding-bottom: 1px;}
    .inside {margin: 10px; }
    /******HACKS***************************************************/
    .clear-columns
    { /* hide from IE/Mac */ padding-bottom: 1px; margin-bottom: -1px;	}
    * html #page-container { /* */ height: 0.1%; position: relative; }
    * html #middle-column, * html #left-column, * html #right-column, * html #source-order-container {	/* hide from IE/Mac */ overflow: visible; /* hide from IE/Mac */ position: relative; }
    * html #middle-column {margin-right: -4px; margin-right/* */: 0; }
    * html #middle-column .inside
    { margin-right: 14px; margin-right/* */: 10px;}
    * html #masthead, * html #footer { /* hide from IE/Mac */ height: 0.1%; height/**/: auto;	 }
    * html #masthead .inside, * html #footer .inside {	margin-top: 0; margin-bottom: 0; margin/* */: 10px; }
    * html .inside {margin: 10px 0.75em; margin/* */: 10px; }
    * html #inner-column-container {display: block; }
    
    
    * html #source-order-container {margin-right: -100%; /* */ margin-right: -1px; }
    #left-column, #right-column {position: relative; }
    /******************************************************************************/
    #page-container {font-size: 80%; font-family: tahoma, candara, helvetica, verdana, arial, sans-serif; }
    #page-container, #inner-column-container, #masthead, #footer {border-color: #99a;}
    #outer-column-container {border-left-color: #f6f6f6; border-right-color: #e6e6e6;	}
    #masthead {background-color: #f6f6f6;	}
    #footer {background-color: #e6e6e6;}
    #inner-column-container {background-color: #fcfcfc; }
    #left-column h3, #right-column h3 {margin-bottom: 0; }
    #right-column p, #right-column ul {margin-top: 0; }
    p.fontsize-set {text-align: center;}
    p.fontsize-set input {margin: 0 2px;}
    
    /**** Highlight current subpage *******/
    li.current_page_item a:link, li.current_page_item a:active, li.current_page_item a:visited, li.current_page_item a:hover { color: black; font-weight: bold; }
    /***********************************/
    #left-column .inside ul, #right-column .inside ul {list-style-type: none; margin: 0; padding: 0; }
    #left-column .inside ul li, #right-column .inside ul li {margin: 2px 0 2px 5px; }
    a:link, a:visited, a:active {color: #004b9f; text-decoration: none; }
    a:hover {text-decoration: underline; }
    .inside h1{ font-family: verdana, tahoma, arial, sans-serif; letter-spacing:-3px; line-height: 1.0em; font-size:2.5em; float:left; /*width: 49%;*/ margin: 10px 5px 0 0; }
    a.header:link, a.header:visited, a.header:active, a.header:hover {color: #999; text-decoration: none; }
    div#search {float: right; width: 15em; text-align: right; padding: 0.6em 0 0.2em 0; margin: 0 1em; }
    /***************** wordpress defaults *****************/
    .navigation {display: block; margin: 0; padding: 0; width: 100%; /*height: 15px;*/ } 
    .older{float: left; width: 49%; text-align: left; margin:0; padding:0;}
    .newer{float:right; width: 49%; text-align: right; margin:0; padding:0; }
    .postmetadata{clear:both; margin: 15px 0 15px 0; color: #999; background: #f4f4f4; padding: 5px; }
    .postmetadata2{float: left; padding: 0; margin: 0px 0 0px 0; color: #666; font-size: 90%}
    .postmetadata2 a:link, .postmetadata2 a:active, .postmetadata2 a:visited {color: #666; text-decoration: underline}
    .post-last {margin-bottom: 20px; } /*different style for last post on page*/
    .post-page {margin-top: 20px; margin-bottom: 20px; }
    .pagetitle {margin-bottom: 15px;}
    .entry {margin: 0px;}
    /* CSS for forms ————————————– */
    form {margin: 0; padding: 0; }
    form p {margin: 5px 0 0 0; padding: 0; }
    label {margin-right: 0.5em; /*display: block;*/ font-family: arial;}
    .submit input {margin-left: 4.5em; }
    form input {color: #000; background: #efd3de; /*border: 1px solid #c2547d;*/ }
    .submit input {color: #000; background: #fff; border: 2px outset #999; height: 18px; padding:0}
    fieldset {border: 1px solid #781351; width: 45em; }
    legend { color: #000; background: #FFB0B3; border: 1px solid #781351; padding: 2px 6px; margin-bottom: 15px; }
    .comment-textarea{width: 96%; padding: 0; margin: 0; }
    #s{width: 75%;}
    /**********************************************/
    .vert1 {display: table; height: 56px;  #position: relative; overflow: hidden; }
    .vert2 { #position: absolute;  #top: 50%;display: table-cell; vertical-align: middle;}
    .vert3 { #position: relative;  #top: -50%}
    /******************clearfix********************/
    .clearfix:after {content: “.”; display: block; height: 0; clear: both; visibility: hidden; }
    .clearfix {min-width: 0; display: inline-block; /* */	display: block; }
    * html .clearfix {/* */  height: 1%;}
    /***************************************************/
    body {background: #ffffff; color: #000000; margin: 0 0;}
    /**********************************************************/
    /*Credits: Dynamic Drive CSS Library */
    /*URL: http://www.dynamicdrive.com/style/ */
    /*#modernbricksmenu{float: left; margin-right: 0px; margin-bottom: 0; padding: 0; width: auto; background: transparent;*/ 
    #modernbricksmenu{padding: 0; width: auto; background: transparent; border-bottom: dashed 1px #cccccc; border-left: dashed 1px #cccccc; 
    voice-family: “”}””;
    voice-family: inherit;}
    #modernbricksmenu ul{font: bold 11px Arial; margin:0; margin-left: 0px; padding: 0; list-style: none;}
    #modernbricksmenu li{display: inline; margin: 0 0 0 0; padding: 0; text-transform:uppercase; }
    #modernbricksmenu li:first-child {margin-left: 1px; }
    #modernbricksmenu a{float: left; display: block; color: #666666; margin: 0 0 0 0; /*Margin between each menu item*/ padding: 5px 10px; text-decoration: none; letter-spacing: 1px;background-color: #ffffff; border: dashed 1px #cccccc; border-width: 0 1px 0 0}
    #modernbricksmenu a:hover{color: #000000; background-color: #eeeeee; }
    #modernbricksmenu #current a{color: #000000; background-color: #eeeeee; }
    #modernbricksmenuline{ clear: both; height: 5px; padding: 0; width: 100%; background: #ffffff; border-top: dashed 1px #cccccc; /*border-bottom: solid 2px #cccccc*/ }
    #modernbricksmenuline2{ clear: both; height: 5px; padding: 0; width: 100%; background: #ffffff; /*border-top: solid 2px #cccccc;*/ border-bottom: dashed 1px #cccccc }
    /**********************************************/
    .calendar {float:left; width: 46px; height: 54px; margin: 0 10px 0 0;} 
    .calendar1, .calendar2, .calendar3 {text-align: center; font-weight: bold; width: 46px; float:left; font-family: Arial, sans-serif;}
    .calendar1{border-top: solid 1px #666; border-right: solid 1px #666; border-left: solid 1px #666; line-height: 16px; vertical-align: bottom; margin-bottom: 0; padding-bottom: 0; font-weight: bold; color: #666; font-size: 95%; height: 16px; text-transform:uppercase; background: #ddd;}
    .calendar2{border-right: solid 1px #666; border-left: solid 1px #666; font-family: tahoma, sans-serif; padding-top:0; line-height: 23px; vertical-align: top; color: #ddd; font-size: 160%; height: 23px; background: #666;}
    .calendar3{border-bottom: solid 1px #666; border-right: solid 1px #666; border-left: solid 1px #666; line-height: 16px; /*margin-top: 0; padding-top: 2px;*/ color: #666; font-size: 90%; height: 16px; background: #ddd;}
    /************************************************/
    .line1pix { width: 100%; height: 1px; margin: 0px; border-top: 1px dashed #cccccc; padding: 0; margin: 10px 0 10px 0; display: block; font-size: 1px; }
    .headerleft{float: left; /*width: 49%;*/ text-align: left;  margin-bottom:0; margin-top: 0px; position: relative; padding-bottom:0;}
    .headerright{float:right; width: 15em; /*text-align: right;*/ padding: 0; margin: 10px -1px 0 0; background: #ffffff; border: 1px dashed #cccccc; border-width: 1px 1px 0 1px}
    /*.searchform{width: auto; margin:0; padding:0}*/
    img {margin: 10px; border: none}
    .entry ul, .entry ol {clear:both}
    .entry ul li, .entry ol li {clear: both}
    .entry p {clear:both} 
    .postmetadata {clear:both}
    .post {/*border-bottom: dotted 1px #ccc;*/ margin-bottom: 20px; }
    blockquote{height: 1%; color: #555; /*margin-left: 20px*/; /*border-left: solid 10px #ccc;*/ padding: 1em 1em; background: #f4f4f4; border: solid 1px #e1e1e1;  /* hack for IE6 and older*/ }
    blockquote blockquote{height: 1%; color: #444; /*margin-left: 20px*/; /*border-left: solid 10px #ccc;*/ padding: 1em 1em; background: #e1e1e1; border: solid 1px #d3d3d3;  /* hack for IE6 and older*/ }
    blockquote p {margin-top: 0}
    #left-column .inside ul li, #right-column .inside ul li {margin: 2px 0 2px 0;  }
    #left-column .inside ul li ul li, #right-column .inside ul li ul li {margin: 2px 0 2px 5px;  }
    #left-column .inside ul li a, #right-column .inside ul li a {text-decoration: none; font-weight: normal; color: #666; padding: 0 0 0 5px; border-left: solid 7px #dddddd; display:block}
    * html #left-column .inside ul li a, #right-column .inside ul li a {display:inline-block} /* IE6 needs inline-block */
    * + html #left-column .inside ul li a, #right-column .inside ul li a {display:inline-block} /* IE7 needs inline-block */
    #left-column .inside ul li a:hover, #right-column .inside ul li a:hover {text-decoration: none; color: #000; padding: 0 0 0 5px; border-left: solid 7px #000; }
    #footer .inside a{color: #666; font-weight: normal}
    #footer .inside {color: #666}

    Merci mille fois pour ces aides en tous les cas

    #626745
    HeleneR
    Participant
    Maître WordPress
    1545 contributions

    Comme promis, j’ai placé le code………

    C’est ce que je craignais, même erreur.
    Je n’ai rien touché à ce code.
    Parse error: syntax error, unexpected ‘}’, expecting ‘,’ or ‘;’ in /home/local/apache/htdocs/sites/t/tarot-numerologie.fr/blog/wp-content/themes/atahualpa-10/header.php on line 103

    C’est peut-être une autre erreur non?

    #626746
    Lumiere de Lune
    Participant
    Maître WordPress
    19385 contributions

    Si tu donnais le code de ton fichier header.php ça aiderait…

    #626747
    HeleneR
    Participant
    Maître WordPress
    1545 contributions

    J’ai pensé qu’on ne s’interessait qu’au fichier css.
    Je n’avais rien touché du header. Le voici.

    Je me sentais incrustante. Je vais finir par croire que ce thème n’est pas exploitable.
    Moi qui voulais y rajouter un code adsense…..

    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    
    <meta http-equiv="Content-Type" content="; charset=” />
    
    <title>
    </title>
     Presentation -> BytesForAll Theme Options
    if ( is_home() && trim($ata_homepage_meta_description) != “” ) { echo “n”; }
    ?>
     Presentation -> BytesForAll Theme Options
    if ( is_home() && trim($ata_homepage_meta_keywords) != “” ) { echo “n”; }
    ?>
     25) { // change this number to max amount of words
    $lastinphrase = array_pop($shorteneddescription); }
    while (list(, $word) = each($shorteneddescription)) {
    $finaldescription .= (“$word “); }
    $finaldescription = trim($finaldescription); echo “n”; ?>
    
    
    <?php echo "
    
    name; 
    }}}
    if (get_the_category()) {
    $postcategory = get_the_category();
    if ($postcategory) {
    foreach($postcategory as $category) {
    $keyword_array[] = $category->name; 
    }}}
    ?>
    
    n”; ?>
    
    
    
    
    
    
    
     <!-- leave this for stats -->
    <link rel="stylesheet" href="” type=”text/css” />
    
    a:link, a:visited, a:active {color: ; font-weight: bold; text-decoration: none }
    a:hover {text-decoration: underline; }
    .postmetadata a:link, .postmetadata a:visited, .postmetadata a:active {color: #777; font-weight: normal}
    h3.widgettitle {color: #555555; width: 100%; font-size: 1.3em; margin-bottom: 0px; padding-bottom: 0px; font-family: ; }
    p.header { float: left; margin: 0 10px 8px 0px; font-size:1.2em; font-weight: bold; /*line-height:1.2em*/; color: ; }
    h1{ font-family: ; letter-spacing:-1px; line-height: 1.0em; font-size:em; /*float:left;*/ /*width: 49%;*/ margin: 10px 20px 0 0; padding:0; }
    h2 a:link, h2 a:visited, h2 a:active  {color:#666666; text-decoration: none}
    .header-background {margin-bottom: px}
    a.header:link, a.header:visited, a.header:active, a.header:hover {color: ; text-decoration: none; }
    #page-container {background: #ffffff; /*border: solid 0px #ffffff;*/		
    min-width: 800px; margin: 0 10px; font-family: ; }
    #outer-column-container {border-left: solid em #ffffff; border-right: solid em #ffffff;}
    #left-column {float: left; margin-left: -em; width: em; margin-right: 1px; }
    #right-column {float: right; margin-right: -em; width: em; margin-left: 1px; }
    #masthead {background: #ffffff url(%3C?php echo get_bloginfo////////(‘template_directory’); ?>/images/headerimage.jpg) <?php echo $ata_header_image_alignment }
    #footer {background-color: #ffffff; border-top: dashed 1px #cccccc; padding-bottom: 1px;}
    #inner-column-container {border: dashed 1px #cccccc;
    border-width: 0 1px; margin: 0 -1px;
    }
    #inner-column-container {background-color: #ffffff;}
    
    li.current_page_item li a:link, li.current_page_item li a:active, li.current_page_item li a:visited, li.current_page_item li a:hover {color:; font-weight: normal; }
    .inside {margin: 15px; }
    #left-column .inside {margin: 15px 15px 15px 5px}
    #footer .inside{text-align: center;}
    form input {color: #000; background: #f4f4f4; padding: 0; margin:0; border: 1px solid #cccccc; }
    .postmetadata2 a:hover {color: ; text-decoration: underline}
    #right-column p {margin-bottom: 15px;}
    
    <link rel="alternate" type="application/rss+xml" title=" RSS Feed” href=”” />
    <link rel="pingback" href="” />
    
    	
    	
    		<div id="page-container">
    <div class="clearfix" id="modernbricksmenu">
    <ul></ul></div>
    <div style="clear: both"></div><div class="headerleft"><img style="margin:10px 5px 10px 0px; padding:0; border:0; float: left" src="/images/logosymbol.gif” alt=”” /><div style="float: left"><h1><a class="header" href="/”></a></h1>
    <div style="clear: both"></div><p class="header"></p>

    <a href=””><img style="width: 20px; height: 20px; float: right; margin:10px 0 0 0" src="/images/rss-icon-20×20.gif” alt=” RSS Feed” border=”0″ />

     

    <div style="height: px; background: url(%3C?php echo get_bloginfo////////(‘template_directory’); “>
    <div style="background-color: white; float: left; height: px; width: em; filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;”> 
    <div style="background-color: white; float: right; height: px; width: em; filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;”> 

     

    Merci en tous les cas

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