• I’m using Modest by Elegant Themes with woocommerce. I can’t edit the size of my thumbnails from the woocommerce setting because elegant theme files seem to over ride it. The theme puts a white border around the image. When i inspected with firebug and the web developer plugin for firefox I saw that the overlay (frame) and image thumbnail are set to 200×200 when I edited the style.css so overlay and thumbnail are 150×150 it removes the white frame from the bottom and right side. Even editing the overlay to be larger than the thumbnail (160×160 or 170×170) didn’t bring those sides back. If you look at the style.css for it the lines are around 135.

    https://www.celebrationcosmetics.com/?s=lipstick

    I can’t post photos right now cause photobucket seems to be down?

    Thanks in advance,

    Drake

Viewing 5 replies - 1 through 5 (of 5 total)
  • Check your functions.php

    Look for

    if (function_exists('add_theme_support')) {
      add_image_size( 'homepage-thumb', 350, 350); // Change the image size to whatever you want.
    }

    You need to add the regenerate thumbnail plugin and regenerate all thumbnails that you uploaded. BTW, this is assuming that your theme has it setup this way and not some other way.

    The CSS your modifying has nothing to do with the image size.

    Thread Starter drakedanner

    (@drakedanner)

    Ill give that a shot thanks.

    As for the CSS I was editing not effecting the picture size I have to disagree. It made the image smaller. if your able to clarify what I was doing it’d be much appreciated.

    As you wrote in your post, you were only adjusting the image mask NOT the thumbnail. If you wan’t to use the CSS method and not actually adjust the image to the correct size, then on line 344 of your style.css file, change the width and the height to whatever you want the image size to be. Now this will always set the image size to whatever you set in the CSS and your pictures might not always look right.

    Thread Starter drakedanner

    (@drakedanner)

    ah, thank you. I’ll try that method tomorrow when I have a chance. Thanks a ton.

    No problem!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Editing Thumbnail Size’ is closed to new replies.