Theme Enfant « Editor » + Photo pleine page (Créer un compte)

  • Statut : non résolu
3 sujets de 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #540776
    lattachepresse
    Membre
    Padawan WordPress
    77 contributions

    Bonjour,

    Ma configuration WP actuelle
    – Version de WordPress : dernière
    – Version de PHP/MySQL :
    – Thème utilisé : Editor
    – Extensions en place : aucune
    – Nom de l’hebergeur : 1&1
    – Adresse du site : http://s487300517.onlinehome.fr/

    Problème(s) rencontré(s) :

    Bonjour,
    Je souhaite créer un theme enfant pour le theme Editor mais je n’y parviens pas.
    J’ai fais comme d’habitude: j’ai crée un nouveau dossier et un fichier style.css dans lequel j’ai écrit ça:

    /*
    Theme Name: Editor Child
    Theme URI:
    Description: Thème enfant pour le thème editor
    Author: Coralie
    Author URI:
    Template: Editor
    Version: 0.1.0
    */

    @import url(« ../editor/style.css »);

    Ca devrait fonctionner…
    A moins que:
    j’ai repéré deux autres fichiers en .css:

    rtl.css

    /*
    Theme Name: editor

    Adding support for language written in a Right To Left (RTL) direction is easy –
    it’s just a matter of overwriting all the horizontal positioning attributes
    of your CSS stylesheet in a separate stylesheet file named rtl.css.

    http://codex.wordpress.org/Right_to_Left_Language_Support

    */

    /*
    body {
    direction: rtl;
    unicode-bidi: embed;
    }
    */

    et editor-style.css

    /*————————————————————–
    Typographic styles for the post editor
    ————————————————————–*/

    .mceContentBody {
    font-size: 20px;
    font-family: ‘Source Sans Pro’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    padding: 0 1%;
    max-width: 700px;
    }

    .mceContentBody h1,
    .mceContentBody h2,
    .mceContentBody h3,
    .mceContentBody h4,
    .mceContentBody h5,
    .mceContentBody h6 {
    clear: both;
    font-family: ‘Roboto Condensed’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 3%;
    }

    .mceContentBody h1 {
    font-size: 50px;
    }

    .mceContentBody h2 {
    font-size: 40px;
    }

    .mceContentBody h3 {
    font-size: 30px;
    }

    .mceContentBody h4 {
    font-size: 20px;
    }

    .mceContentBody h5 {
    font-size: 16px;
    }

    .mceContentBody h6 {
    font-size: 14px;
    }

    hr {
    background-color: #f6f6f6;
    border: 0;
    height: 2px;
    margin: 5% 0;
    }

    .mceContentBody blockquote {
    position: relative;
    margin: 0 0 4% 0;
    z-index: 1;
    }

    .mceContentBody blockquote p {
    font-family: ‘Roboto Condensed’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 300;
    margin: 1em 0 0 0;
    padding-right: 10%;
    position: relative;
    }

    .mceContentBody blockquote p:before {
    border: solid 2px #D4DAE0;
    border-radius: 100px;
    color: #D4DAE0;
    content: « 201C »;
    font-size: 70px;
    font-style: normal;
    font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
    line-height: 75px;
    text-align: center;
    position: absolute;
    right: 1%;
    top: 2%;
    height: 46px;
    width: 46px;
    }

    .mceContentBody ul, .mceContentBody ol {
    margin: 0 0 5% 25px;
    padding-left: 0;
    }

    .mceContentBody ul { list-style: square; }

    .mceContentBody ol { list-style: decimal }

    .mceContentBody ul ul,
    .mceContentBody ol ol,
    .mceContentBody ul ol,
    .mceContentBody ol ul {
    margin: .6em 0 0 1.5em;
    }

    .highlight {
    background: #fff198;
    color: #404040;
    }

    /*————————————————————–
    Table Styles
    ————————————————————–*/

    table {
    font-size: 18px;
    margin-bottom: 5%;
    padding: 0;
    width: 100%;
    }

    table thead {
    background: #f7f7f7;

    th { font-weight: bold }
    }

    table td, #content table th { padding: 10px }

    table td { border-bottom: solid 1px #f7f7f7 }

    table tr:last-child td { border-bottom: none }

    table tr:nth-child(even) { background: #f7f7f7 }

    /*————————————————————–
    Code Styles
    ————————————————————–*/

    pre {
    background: #F5F5F5;
    font-family: « Courier 10 Pitch », Courier, monospace;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
    }
    code, kbd, tt, var {
    font: 15px Monaco, Consolas, « Andale Mono », « DejaVu Sans Mono », monospace;
    }

    /*————————————————————–
    Alignments
    ————————————————————–*/

    .alignleft {
    display: inline;
    float: left;
    margin: .5em 2em 0 0;
    }
    .alignright {
    display: inline;
    float: right;
    margin: .5em 0 0 2em;
    }
    .aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
    }

    .pull-right {
    float: right;
    margin: 1% 0 3% 5%;
    text-align: right;
    }

    .pull-left {
    float: left;
    margin: 0 5% 3% 0;
    text-align: left;
    }

    .pull-right, .pull-left {
    width: 34%;
    font-weight: 400;
    line-height: 30px;
    font-size: 22px;
    text-transform: uppercase;
    font-style: italic;
    }

    Peut être que ça viendrait de là?

    PAr ailleurs, même si je sais que ce n’est pas recommandé (mais à la demande du proprio du site je dois le faire), je voudrais que la page d’accueil n’affiche qu’une image en plein écran, comment faire??

    Merci d’avance….

    #965575
    luciole135
    Participant
    Maître WordPress
    13714 contributions

    Non, c’est le fichier style.css qui compte, pas les autres.

    supprimez les lignes vides pour voir :

    Theme URI:
    Author URI:

    #965576
    Lumiere de Lune
    Participant
    Maître WordPress
    20531 contributions

    et mettez editor et pas Editor

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