Featured images - why do they come up hoge on mypproduct, page or post

here's my question today - I'm not saving them up, honestly!

Not sure this is just about marketpress, but it's where I'm encountering the problem. If I add a product featured image that is of any reasonable size, it comes up huge on my product page. The only way I can see to display it as a thumbnail is to make it very small in the first place, thus negating the lightbox feature because there is nothing bigger to see. How do I solve this?

  • Patrick
    • Support Monkey

    Hi @Aileen

    That is most likely your theme's CSS which doesn't have any applicable style rules for the product images. This is easily solved by adding a bit of custom CSS to your style-sheet as follows:

    img.mp_product_image_single {
    max-width:300px;
    height:auto;
    }

    Hope this helps! And thanks for being a member :slight_smile:

  • Patrick
    • Support Monkey

    Hi again @Aileen

    I'm glad you found a workaround. But I just checked your site again and discovered that there is some CSS overriding what you added.

    On line 8 of your style-sheet the rules for this are taking precedence:
    #content img

    To get your product image styles to take, increase the specificity of what I gave you above to this:

    #content img.mp_product_image_single {
    max-width:300px;
    height:auto;
    }

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.