Support » Theme: _tk » Images shrink when using caption

  • Resolved HikingMike


    I’m not sure if this is a problem with this theme or just with WordPress in general-
    I noticed when I put a caption on my image, the image is shrunk a bit. I’d compared with and without caption. The caption padding (between the outline and the image) is what’s causing the shrink. Is there a way to make the whole image+caption grow wider whenever there is a caption so the image can stay the same size? I like the padding the way it is, but it shouldn’t shrink the image because of course that makes images unsharp.

    Here is the source when I have a caption.

    `<div id=”attachment_1197″ style=”width: 480px” class=”wp-caption aligncenter”><img class=”wp-image-1197 size-full” src=”” alt=”sawyer-mini-filling-bag-at-high-lake” width=”470″ height=”332″ /><p class=”wp-caption-text”>Preparing to squeeze the life-giving water out of High Lake</p></div>

    I see that wp-caption has a padding of 10px. I reduced it to 0, and then image stayed the full size but the caption outline was goofy because it pressed against the left side of it but with padding on the right somehow. Argh.

    If that outer div didn’t have a width, then this probably wouldn’t be a problem. But I guess that’s what they use to make the actual outline around the image and caption. I’d think they would have figured this out by now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Sven Lehnert


    Hi @hikingmike,

    this could be an issue. Contribution are more then welcome. Please use the Github issue tracker. We not check the support forums.

    If you have a pull request, create one!

    If you not get a answer on time ping me on slack I’m online mostly all the day.


    Thanks for the reply. Added to Github.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images shrink when using caption’ is closed to new replies.