Twenty Eleven - Bild nicht zentriert und nicht anklickbar

  • Ich drehe gerade ein wenig am Rad. Bis gestern hatte ich noch Twenty Twelve drauf und habe gewechselt, weil mir die Anordnung der Kommentare beim Elfer besser gefällt. Aber ich suche mich gerade dumm und kann es nicht heraus finden:

    Die Bilder im Beitrag bleiben linksbündig und ich habe jeden Tipp, den ich hier finden konnte umgesetzt. Nichts hat sich geändert. Seltsam ist auch, dass ich die Bilder nicht anklicken kann und sie dann auf der nächsten Seite in groß erhalte. Auch dazu kann ich nichts finden. Und weil ich dazu noch mit Fieber im Bett liege und nicht weiß, was ich am besten zeige, gibt es erst mal die CSS und dann den Link zur Seite. Hilfe wäre sehr willkommen, am liebsten so, dass ich sie auch heute verstehen kann ;-)


    /* Images */
    .entry-content img,
    .comment-content img,
    .widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
    }
    img[class*="align"],
    img[class*="wp-image-"],
    img[class*="attachment-"] {
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
    }


    img.size-full,
    img.size-large {
    max-width: 97.5%;
    width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
    }
    .entry-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    }
    img.alignleft,
    img.alignright,
    img.aligncenter {
    margin-bottom: 1.625em;
    }
    p img,
    .wp-caption {
    margin-top: 0.4em;
    }
    .wp-caption {
    background: #eee;
    margin-bottom: 1.625em;
    max-width: 96%;
    padding: 9px;
    }
    .wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 98%;
    }
    .wp-caption .wp-caption-text,
    .gallery-caption {
    color: #666;
    font-family: Georgia, serif;
    font-size: 12px;
    }
    .wp-caption .wp-caption-text {
    margin-bottom: 0.6em;
    padding: 10px 0 5px 40px;
    position: relative;
    }
    .wp-caption .wp-caption-text:before {
    color: #666;
    content: '\2014';
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    margin-right: 5px;
    position: absolute;
    left: 10px;
    top: 7px;
    }
    #content .gallery {
    margin: 0 auto 1.625em;
    }
    #content .gallery a img {
    border: none;
    }
    img#wpstats {
    display: block;
    margin: 0 auto 1.625em;
    }


    /* Image borders */
    img[class*="align"],
    img[class*="wp-image-"],
    #content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    border: 1px solid #ddd;
    padding: 6px;
    }
    .wp-caption img {
    border-color: #eee;
    }
    a:focus img[class*="align"],
    a:hover img[class*="align"],
    a:active img[class*="align"],
    a:focus img[class*="wp-image-"],
    a:hover img[class*="wp-image-"],
    a:active img[class*="wp-image-"],
    #content .gallery .gallery-icon a:focus img,
    #content .gallery .gallery-icon a:hover img,
    #content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
    background: #eee;
    border-color: #bbb;
    }
    .wp-caption a:focus img,
    .wp-caption a:active img,
    .wp-caption a:hover img {/* ... including captioned images! */
    background: #fff;
    border-color: #ddd;
    }



    font-size: 12px;
    overflow: hidden;
    }
    .singular #author-info {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 2.2em -35.6% 0 -35.4%;
    padding: 20px 35.4%;
    }
    .archive #author-info {
    border-bottom: 1px solid #ddd;
    margin: 0 0 2.2em;
    padding: 0 0 2.2em;
    }
    #author-avatar {
    float: left;
    margin-right: -78px;
    }
    #author-avatar img {
    background: #fff;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px #bbb;
    -moz-box-shadow: 0 1px 2px #bbb;
    box-shadow: 0 1px 2px #bbb;
    padding: 3px;
    }
    #author-description {
    float: left;
    margin-left: 108px;
    }
    #author-description h2 {
    color: #000;
    font-size: 15px;
    font-weight: bold;
    margin: 5px 0 10px;
    }

    .entry-header .comments-link .leave-reply {
    visibility: hidden;
    }


    /* =Attachments
    ----------------------------------------------- */

    .image-attachment div.attachment {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-width: 1px 0;
    margin: 0 -8.9% 1.625em;
    overflow: hidden;
    padding: 1.625em 1.625em 0;
    text-align: center;
    }
    .image-attachment div.attachment img {
    display: block;
    height: auto;
    margin: 0 auto 1.625em;
    max-width: 100%;
    }
    .image-attachment div.attachment a img {
    border-color: #f9f9f9;
    }
    .image-attachment div.attachment a:focus img,
    .image-attachment div.attachment a:hover img,
    .image-attachment div.attachment a:active img {
    border-color: #ddd;
    background: #fff;
    }
    .image-attachment .entry-caption p {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    margin: 0 0 2.6em;
    text-transform: uppercase;
    }


    http://www.michou-loves-vintage.de/wordpress/

    Danke schön!

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • ich bin der gleichen ansicht wie Edi - die ausrichtung with durch irgendein javascript veraendert; evtl durch das pinterest-plugin.

    in /wp-content/plugins/jquery-pin-it-button-for-images/css/style.css?ver=0.9.9


    Code
    .pinit {
     position:relative;
     display:inline-block;
     overflow: hidden;
     max-width: 100%;
    }

    aendere die eine zeile probeweise in [FONT=courier new][COLOR=#0000ff]display: block;[/COLOR][/FONT]

  • Das Leben ist seltsam: also Plugin herauswerfen änderte nichts, die Änderung im style.css des Scriptes schon - Bilder sind also jetzt mittig.
    Aber klickbar sind sie immer noch nicht - es sind große Auflösungen, die nur für den Post auf 500 px Breite getrimmt worden sind. Noch eine schlaue Idee? Das wäre dann doch noch ein fast geretteter Tag ;-)

    Danke schon mal!

  • Sind eingefügt wie immer: für Bilder, bei denen Details wichtig sind, wähle ich eine größere Auflösung - hier 1200 px - und füge sie als großes Bild mit 500 px ein. Bislang war es bei jedem Theme so, dass bei einem Klick auf das Bild das Bild selbst auf einer nächsten Seite aufging, wo man es dann größer klicken konnte. Kann ich aber nicht mehr. Die Posts wurden noch unter Twelve geschrieben und da lief es ...?

    Auf der Seite davor funktkioniert es noch. Aber alles ist auf die gleiche Weise bearbeitet und eingefügt worden. Vielleicht bin ich heute aber auch einfach zu vernebelt und verfiebert, um etwas hinzubekommen. danke also nochmal :-)

    Füge jetzt einfach die Bilder der letzten Tage noch mal manuell neu ein.

    Einmal editiert, zuletzt von michoubonn (24. April 2013 um 16:42)

  • Am Plugin kann es nicht liegen, meine ich.

    Schau bitte einmal, wie die Bilder im Text eingefügt sind. Da scheint etwas verloren gegangen zu sein.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!