• Resolved Rishu25

    (@rishu25)


    Hi,

    I’m playing with the new theme right now and can’t get my images to resize as I want them to. I use this code to display my new books with covers:

    .newbooks
    width: 80px;
    height: 128px;
    background-color: #FFF;
    border: 1px solid #DDD;
    padding: 3px;
    }

    It works on my Twenty Eleven Theme (http://buecherblog.org/2013/07/im-buchkaufrausch-2/) but not with Twenty Thirteen. The six shown covers all have different sizes after using the css style (from left to right): 80×112, 72×106, 72×109, 72×105, 72×107, 72×111.

    I have no idea what’s causing this error 🙁

Viewing 5 replies - 1 through 5 (of 5 total)
  • the css class .newbooks is not to be found in the linked web page;

    also, please post a link with the Twenty Thirteen theme activated to illustrate the problem.

    Thread Starter Rishu25

    (@rishu25)

    Sorry, I didn’t expect anyone to search for the code on my website. It’s actually “.neuebuecher” (= newbooks in german). I cant’ post a link because I’m working with xampp. Didn’t want to destroy my live blog. But I uploaded a screenshot:

    http://buecherblog.org/bilder/screenshot.jpg

    It’s the basic Twenty Thirteen theme with my database backup and a Child Theme style.css with just the one style from above. No other changes.

    try changing the style to make it more specific; example:

    .entry-content img.neuebuecher {
    width: 80px;
    height: 128px;
    background-color: #FFF;
    border: 1px solid #DDD;
    padding: 3px;
    }
    Thread Starter Rishu25

    (@rishu25)

    With the “.entry-content img.neuebuecher” part all images get the same size but still not the one I defined. Now they all are 72px × 120px …
    It doesn’t even work when I put the sizes directly into the image code like <img src=”blabla” width=”80″ height=”128″>.

    Thread Starter Rishu25

    (@rishu25)

    I posted this again into the Twenty Thirteen support section so I’m going to change the topic to “resolved”. Sorry for the mess 🙁

    [contiued at http://wordpress.org/support/topic/image-resizing-doesnt-work-properly?replies=1 ]

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Theme: Twenty Thirteen] Image resizing doesn't work properly’ is closed to new replies.