My vertical thumbnails are cut off at the bottom

Issue

When using vertical sliding thumbnails in WooThumbs, the last image is cut off.

Solution

Make sure that your thumbnails are the right size. The thumbnail slider height is calculated based on the original width of your images, so it won't account for images that are stretched.

You can use the web inspector to work out what width thumbnails you need.

  1. Firstly, resize your browser. As most themes are now responsive, we want to resize the browser to find the point at which the thumbnails are at their largest size. This is the size the thumbnails should be set to.
  2. Once you've found where your thumbnails are at their largest, open up the web inspector. I'll be using the Google Chrome browser for this example. In your browser, click View > Developer > Developer Tools.
  3. A new panel will open. Click the "Inspect" icon at the top left of the new panel. This will allow you to hover over elements on the page and select them.
  4. Hover over one of your thumbnail images. You'll see an info panel appear with your image dimensions:
  5. Dimensions are always listed as width x height in pixels. You'll want to round these figures, too. So my thumbnails should be set to 137px x 156px.
  6. Go to your WordPress admin, then WooCommerce > Settings > Products > Display.
  7. Scroll down to Product thumbnails and enter the new dimensions. Ensure Hard crop? is checked.
  8. Click save, and then regenerate your thumbnails.

Your images should now be displayed correctly in WooThumbs!

Still need help? Contact Us Contact Us