WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. pnilz
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/woocommerce/

  2. pnilz
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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;
    	height:315px!important;
    }

    Where the height:315px!important; is added

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic