• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Related images size with WooCommerce

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Related images size with WooCommerce

This topic is: not resolved

Tagged: html5, images, line breaks, modern portfolio, WooCommerce

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 7 months ago by David Chu.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 17, 2013 at 6:54 am #67149
    Bart van Maanen
    Participant

    Hi all,
    I'm setting up an WooCommerce page with the Modern Portfolio theme and Genesis Connect plugin (and HTML5 activated). Besides a problem with line breaks in all WooCommerce pages and text fields I'm having troubles with the images of related products. In Firebug the settings are 150x150, but they show up on page much larger and thus blurred by this resolution.

    I've tried Regenerate Thumbnails plugins with the same settings, but nothing happens.
    Does anyone recognize the issue and can suggest a fix?
    Thanks.

    http://roydames.nl/winkel/
    October 17, 2013 at 12:59 pm #67181
    David Chu
    Participant

    Hi,
    As always with Woo, the CSS is so thick that you couldn't cut it with a knife. This bit of code is making your product image extra wide. See "width: 100%;". You could try changing that setting to taste. If you make it smaller, you may have to make other CSS changes that will compensate for the area holding the image. If you're not comfortable making CSS changes, you'd best leave it alone, or hire someone for help.

    .woocommerce div.product div.images img, .woocommerce #content div.product div.images img, .woocommerce-page div.product div.images img, .woocommerce-page #content div.product div.images img {
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
      display: block;
      height: auto;
      transition: all 0.2s ease-in-out 0s;
      width: 100%;
    }

    But there's something else, too. The product images are 300 x 300. If that's a good size, then you're OK. Otherwise, I assume that somewhere buried in Woo's settings is a place where you can change the product image size. And the product image will not be effected by the thumbnail setting at all, by the way - that's separate.

    Good luck, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    October 18, 2013 at 4:09 am #67293
    Bart van Maanen
    Participant

    Hi David,
    Thanks for your reply. I've tried to scale all the images with the Regenerate Thumbnails plugin as suggested by another developer. To no effect yet. But you can change the image settings - not really buried - in Woo > Settings > Pages (with supposedly a Hard Crop).

    The Woo css is rather thick as you mentioned. Is your css trick here meant to be added to the child theme's css?
    Thanks again.

    October 18, 2013 at 7:58 am #67315
    David Chu
    Participant

    Hi,
    Yes, you can add it to your child theme's CSS.

    Again, Regenerate Thumbnails will have no effect at all on the product images, which are completely separate from the thumbnail images. You can see that in your HTML source code. I don't use Woo Commerce much, but you may need to change the product image size settings AND re-enter product images.

    That's my best guess from outside.

    Good luck, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble