• Resuelto santirori

    (@santirori)


    Saludos. La dirección de mi blog es: «www.shantytown.info»

    Estoy utilizando la plantilla Twenty Eleven, hasta ayer la opción de color oscura, y hoy mismo la he cambiado a colores claros. Una vez hecho esto intenté quitar la línea gris que sale encima de la imagen de cabecera, intenté quitar también el espacio blanco entre imagen de cabecera y límete superior y al final tras tocar en la edición de la plantilla me encuentro que mis dos problemas siguen iguales y además me ha surgido uno mucho más importante, me ha desaparecido el color gris de la barra de menú principal situada debajo de la imagen de cabecera.

    ¿Alguien podría echarme una mano? Gracias.

Viendo 5 respuestas - de la 1 a la 5 (de un total de 5)
  • Hola

    Tocaste el archivo style.css?
    O como hiciste estos cambios?

    zh
    paginas.In

    Iniciador del debate santirori

    (@santirori)

    Si, toqué el archivo style.css (la parte del comienzo, branding y access) para intentar hacer los dos cambios que comento al principio de mi post y además de no conseguir solucionarlo me encuentro con que me desapareció el color gris de la barra de menús.

    Dejo aquí mi archivo style.css para ver si alguien me puede ayudar. Muchas gracias.

    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, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    }
    :focus {/* remember to define focus styles! */
    outline: 0;
    }
    body {
    background: #fff;
    line-height: 1;
    }
    ol, ul {
    list-style: none;
    }
    table {/* tables still need ‘cellspacing=»0″‘ in the markup */
    border-collapse: separate;
    border-spacing: 0;
    }
    caption, th, td {
    font-weight: normal;
    text-align: left;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    content: «»;
    }
    blockquote, q {
    quotes: «» «»;
    }
    a img {
    border: 0;
    }
    article, aside, details, figcaption, figure,
    footer, header, hgroup, menu, nav, section {
    display: block;
    }

    /* =Structure
    ———————————————– */

    body {
    padding: 0 2em;
    }
    #page {
    margin: 2em auto;
    max-width: 1000px;
    }
    #branding hgroup {
    margin: 0 7.6%;
    }
    #access div {
    margin: 0 7.6%;
    }
    #primary {
    float: left;
    margin: 0 -26.4% 0 0;
    width: 100%;
    }
    #content {
    margin: 0 34% 0 7.6%;
    width: 58.4%;
    }
    #secondary {
    float: right;
    margin-right: 7.6%;
    width: 18.8%;
    }

    /* Singular */
    .singular #primary {
    margin: 0;
    }
    .singular #content,
    .left-sidebar.singular #content {
    margin: 0 7.6%;
    position: relative;
    width: auto;
    }
    .singular .entry-header,
    .singular .entry-content,
    .singular footer.entry-meta,
    .singular #comments-title {
    margin: 0 auto;
    width: 68.9%;
    }

    /* Attachments */
    .singular .image-attachment .entry-content {
    margin: 0 auto;
    width: auto;
    }
    .singular .image-attachment .entry-description {
    margin: 0 auto;
    width: 68.9%;
    }

    /* Showcase */
    .page-template-showcase-php #primary,
    .left-sidebar.page-template-showcase-php #primary {
    margin: 0;
    }
    .page-template-showcase-php #content,
    .left-sidebar.page-template-showcase-php #content {
    margin: 0 7.6%;
    width: auto;
    }
    .page-template-showcase-php section.recent-posts {
    float: right;
    margin: 0 0 0 31%;
    width: 69%;
    }
    .page-template-showcase-php #main .widget-area {
    float: left;
    margin: 0 -22.15% 0 0;
    width: 22.15%;
    }

    /* error404 */
    .error404 #primary {
    float: none;
    margin: 0;
    }
    .error404 #primary #content {
    margin: 0 7.6%;
    width: auto;
    }

    /* Alignment */
    .alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
    }
    .alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
    }
    .aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    /* Right Content */
    .left-sidebar #primary {
    float: right;
    margin: 0 0 0 -26.4%;
    width: 100%;
    }
    .left-sidebar #content {
    margin: 0 7.6% 0 34%;
    width: 58.4%;
    }
    .left-sidebar #secondary {
    float: left;
    margin-left: 7.6%;
    margin-right: 0;
    width: 18.8%;
    }

    /* One column */
    .one-column #page {
    max-width: 690px;
    }
    .one-column #content {
    margin: 0 7.6%;
    width: auto;
    }
    .one-column #nav-below {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.625em;
    }
    .one-column #secondary {
    float: none;
    margin: 0 7.6%;
    width: auto;
    }
    /* Simplify the showcase template */
    .one-column .page-template-showcase-php section.recent-posts {
    float: none;
    margin: 0;
    width: 100%;
    }
    .one-column .page-template-showcase-php #main .widget-area {
    float: none;
    margin: 0;
    width: auto;
    }
    .one-column .page-template-showcase-php .other-recent-posts {
    border-bottom: 1px solid #ddd;
    }
    /* Simplify the showcase template when small feature */
    .one-column section.featured-post .attachment-small-feature {
    border: none;
    display: block;
    height: auto;
    max-width: 60%;
    position: static;
    }
    .one-column article.feature-image.small {
    margin: 0 0 1.625em;
    padding: 0;
    }
    .one-column article.feature-image.small .entry-title {
    font-size: 20px;
    line-height: 1.3em;
    }
    .one-column article.feature-image.small .entry-summary {
    height: 150px;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    }
    .one-column article.feature-image.small .entry-summary a {
    left: -9%;
    }
    /* Remove the margin on singular articles */
    .one-column.singular .entry-header,
    .one-column.singular .entry-content,
    .one-column.singular footer.entry-meta,
    .one-column.singular #comments-title {
    width: 100%;
    }
    /* Simplify the pullquotes and pull styles */
    .one-column.singular blockquote.pull {
    margin: 0 0 1.625em;
    }
    .one-column.singular .pull.alignleft {
    margin: 0 1.625em 0 0;
    }
    .one-column.singular .pull.alignright {
    margin: 0 0 0 1.625em;
    }
    .one-column.singular .entry-meta .edit-link a {
    position: absolute;
    left: 0;
    top: 40px;
    }
    .one-column.singular #author-info {
    margin: 2.2em -8.8% 0;
    padding: 20px 8.8%;
    }
    /* Make sure we have room for our comment avatars */
    .one-column .commentlist > li.comment {
    margin-left: 102px;
    width: auto;
    }
    /* Make sure the logo and search form don’t collide */
    .one-column #branding #searchform {
    right: 40px;
    top: 4em;
    }
    /* Talking avatars take up too much room at this size */
    .one-column .commentlist > li.comment {
    margin-left: 0;
    }
    .one-column .commentlist > li.comment .comment-meta,
    .one-column .commentlist > li.comment .comment-content {
    margin-right: 85px;
    }
    .one-column .commentlist .avatar {
    background: transparent;
    display: block;
    padding: 0;
    top: 1.625em;
    left: auto;
    right: 1.625em;
    }
    .one-column .commentlist .children .avatar {
    background: none;
    padding: 0;
    position: absolute;
    top: 2.2em;
    left: 2.2em;
    }
    .one-column #respond {
    width: auto;
    }

    /* =Global
    ———————————————– */

    body, input, textarea {
    color: #373737;
    font: 15px «Helvetica Neue», Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.625;
    }
    body {
    background: #e2e2e2;
    }
    #page {
    background: #fff;
    }

    /* Headings */
    h1,h2,h3,h4,h5,h6 {
    clear: both;
    }
    hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.625em;
    }

    /* Text elements */
    p {
    margin-bottom: 1.625em;
    }
    ul, ol {
    margin: 0 0 1.625em 2.5em;
    }
    ul {
    list-style: square;
    }
    ol {
    list-style-type: decimal;
    }
    ol ol {
    list-style: upper-alpha;
    }
    ol ol ol {
    list-style: lower-roman;
    }
    ol ol ol ol {
    list-style: lower-alpha;
    }
    ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
    }
    dl {
    margin: 0 1.625em;
    }
    dt {
    font-weight: bold;
    }
    dd {
    margin-bottom: 1.625em;
    }
    strong {
    font-weight: bold;
    }
    cite, em, i {
    font-style: italic;
    }
    blockquote {
    font-family: Georgia, «Bitstream Charter», serif;
    font-style: italic;
    font-weight: normal;
    margin: 0 3em;
    }
    blockquote em, blockquote i, blockquote cite {
    font-style: normal;
    }
    blockquote cite {
    color: #666;
    font: 12px «Helvetica Neue», Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    }
    pre {
    background: #f4f4f4;
    font: 13px «Courier 10 Pitch», Courier, monospace;
    line-height: 1.5;
    margin-bottom: 1.625em;
    overflow: auto;
    padding: 0.75em 1.625em;
    }
    code, kbd, samp, var {
    font: 13px Monaco, Consolas, «Andale Mono», «DejaVu Sans Mono», monospace;
    }
    abbr, acronym, dfn {
    border-bottom: 1px dotted #666;
    cursor: help;
    }
    address {
    display: block;
    margin: 0 0 1.625em;
    }
    ins {
    background: #fff9c0;
    text-decoration: none;
    }
    sup,
    sub {
    font-size: 10px;
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    }
    sup {
    bottom: 1ex;
    }
    sub {
    top: .5ex;
    }
    small {
    font-size: smaller;
    }

    /* Forms */
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=url],
    input[type=number],
    textarea {
    background: #fafafa;
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    color: #888;
    }
    input[type=text]:focus,
    input[type=password]:focus,
    input[type=email]:focus,
    input[type=url]:focus,
    input[type=number]:focus,
    textarea:focus {
    color: #373737;
    }
    textarea {
    padding-left: 3px;
    width: 98%;
    }
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=url],
    input[type=number] {
    padding: 3px;
    }
    input#s {
    background: url(images/search.png) no-repeat 5px 6px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 14px;
    height: 22px;
    line-height: 1.2em;
    padding: 4px 10px 4px 28px;
    }
    input#searchsubmit {
    display: none;
    }

    /* Links */
    a {
    color: #1982d1;
    text-decoration: none;
    }
    a:focus,
    a:active,
    a:hover {
    text-decoration: underline;
    }

    /* Assistive text */
    .assistive-text {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    }
    #access a.assistive-text:active,
    #access a.assistive-text:focus {
    background: #f9f9f9;
    border-bottom: 10px solid #ddd;
    color: #1982d1;
    clip: auto !important;
    font-size: 12px;
    position: absolute;
    text-decoration: underline;
    top: 0;
    left: 7.6%;
    }

    /* =Header
    ———————————————– */

    #branding {
    border-top: 0px solid #bbb;
    padding-bottom: 10px;
    position: relative;
    z-index: 9999;
    }
    #site-title {
    margin-right: 0px;
    padding: 0.0em 0 0;
    }
    #site-title a:hover,
    #site-title a:focus,
    #site-title a:active {
    color: #bbb;
    }
    #site-description {
    color: #bbb;
    font-size: 14px;
    margin: 10 100px 3.65625em 0;
    }
    #branding img {
    height: auto;
    display: block;
    width: 100%;

    }
    #site-title
    margin-right: 10px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.65625em;
    }

    /* =Menu
    ————————————————————– */

    #access {
    background: #222; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#bbb, #0a0a0a);
    background: -o-linear-gradient(#bbb, #0a0a0a);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bbb), to(#0a0a0a)); /* older webkit syntax */
    background: -webkit-linear-gradient(#252525, #0a0a0a);
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    clear: both;
    display: block;
    float: left;
    margin: 20 auto 160px;
    width: 100%;

    }
    #access ul {
    font-size: 13px;
    list-style: none;
    margin: 0 0 0 -0.8125em;
    padding-left: 0;
    }
    #access li {
    float: left;
    position: relative;
    }
    #access a {
    color: #eee;
    display: block;
    line-height: 3.333em;
    padding: 0 1.2125em;
    text-decoration: none;
    }
    #access ul ul {
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    margin: 0;
    position: absolute;
    top: 3.333em;
    left: 0;
    width: 188px;
    z-index: 99999;
    }
    #access ul ul ul {
    background: #f9f9f9;
    left: 100%;
    top: 0;
    }
    #access ul ul a {
    background: #f9f9f9;
    border-bottom: 1px dotted #bbb;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 1.4em;
    padding: 10px 10px;
    width: 168px;
    }
    #access li:hover > a,
    #access ul ul :hover > a,
    #access a:focus {
    background: #efefef;
    }
    #access li:hover > a,
    #access a:focus {
    background: #f9f9f9; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
    background: -o-linear-gradient(#f9f9f9, #e5e5e5);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
    background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
    color: #373737;
    }
    #access ul li:hover > ul {
    display: block;
    }
    #access .current-menu-item > a,
    #access .current-menu-ancestor > a,
    #access .current_page_item > a,
    #access .current_page_ancestor > a {
    font-weight: bold;
    }

    /* Search Form */
    #branding #searchform {
    position: absolute;
    top: 3.8em;
    right: 7.6%;
    text-align: right;
    }
    #branding #searchform div {
    margin: 0;
    }
    #branding #s {
    float: right;
    -webkit-transition-duration: 400ms;
    -webkit-transition-property: width, background;
    -webkit-transition-timing-function: ease;
    -moz-transition-duration: 400ms;
    -moz-transition-property: width, background;
    -moz-transition-timing-function: ease;
    -o-transition-duration: 400ms;
    -o-transition-property: width, background;
    -o-transition-timing-function: ease;
    width: 72px;
    }
    #branding #s:focus {
    background-color: #f9f9f9;
    width: 196px;
    }
    #branding #searchsubmit {
    display: none;
    }
    #branding .only-search #searchform {
    top: 5px;
    z-index: 1;
    }
    #branding .only-search #s {
    background-color: #666;
    border-color: #000;
    color: #222;
    }
    #branding .only-search #s,
    #branding .only-search #s:focus {
    width: 85%;
    }
    #branding .only-search #s:focus {
    background-color: #bbb;
    }
    #branding .with-image #searchform {
    top: auto;
    bottom: -27px;
    max-width: 195px;
    }
    #branding .only-search + #access div {
    padding-right: 205px;
    }

    Hola,

    Esto es lo que te aconsejo, carga el archivo original de vuelta, el que viene con la plantilla.

    zh
    paginas.In

    Iniciador del debate santirori

    (@santirori)

    ¿Cómo lo hago? ¿Se eliminará el contenido, widgets, etc?
    Muchas gracias por la ayuda.

    No vas a perder el contenido, ni los widgets, etc…
    Igualmente, si esto no funciona puedes dejar el archivo viejo como estaba y ya.

    El archivo se llama style.css, este archivo esta en:
    /root/wp-content/themes/TUPLANTILLA/style.css

    Lo primero que tienes que hacer es un backup al archivo que quieres arreglar. Como? cambiale el nombre a: styleOld.css

    Ahora, busca los archivos que vinieron con tu plantilla y busca ese archivo: style.css, y subelo a:
    /root/wp-content/themes/TUPLANTILLA/style.css

    Y fijate si eso arreglo tu problema, sino funciona, pon de vuelta el style.css viejo.

    zp
    paginas.In

Viendo 5 respuestas - de la 1 a la 5 (de un total de 5)
  • El debate ‘Me desapareció la barra de menú’ está cerrado a nuevas respuestas.