WooCommerce - excelling eCommerce
mystile caption shrinks image (3 posts)

  1. pnilz
    Posted 2 years ago #

    I have an odd problem. When I add a caption to an image it shrinks the image smaller than the other images on the page. See http://nilzonweb.com How do I get rid of this? I need to have a page with about a dozen images, but only some will have captions and I was the images to all be the same size. Thanks in advance.


  2. pnilz
    Posted 2 years ago #

    Anyone? Bueller? I did try this with another theme and it was fine, so it's definitely a theme-specific issue with WooThemes mystile. This is pretty much the last issue before taking the site live. Would love to get it resolved. Thanks!

  3. Christopher Anderton
    Posted 2 years ago #

    Just a ”ugly” quick solution.
    Try to edit the CSS with:

    .post .wp-caption img,
    .type-page .wp-caption img {
      margin: 0;
      background: none;
      border: 0;
      -webkit-box-sizing: border-box;
      /* Safari/Chrome, other WebKit */
      -moz-box-sizing: border-box;
      /* Firefox, other Gecko */
      box-sizing: border-box;

    Where the height:315px!important; is added

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic