- This topic has 4 replies, 2 voices, and was last updated 12 years, 4 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Changing thumbnail size of image shopping cart
Hi,
I would like to to change the size of the thumbnail image shown in the shopping cart? I am using e thshortcode [wp_eStore_cart_with_thumbnail] from the Extra Shortcodes for WP eStore. Where would I be able to change that please?
Thank you
Find the following CSS code in the “eStore_extra_shortcode_css.css” file of the extra shortcodes plugin then change the width and height value as necessary:
.eStore_cart_thumbnail img, .eStore_cart_thumbnail a img{
width:48px !important;
height:48px !important;
vertical-align: middle !important;
float:left;
padding-right:10px !important;;
border:none !important;
}
I was able to change the file size. Thank you very much. Is there anyway to keep the aspect ratio as the thumbnail is square size however picture itself isnt and it looks very odd. I checked the “Enable smart thumbnail” option in eStore settings.
Thank you for your help.
Rene
I’d appreciate any response please?
If you enabled the “Enable smart thumbnail” option then thats all you need because it automatically takes a square snapshot of a portion of the image. If you are really fussy about it then you can manually crop those images to fit them perfectly before you upload but it can be tedious. It will be hard for you to fit a big image with a non square dimension in a small square thumbnail area that looks exactly like the big image. Your users will know to click on an image to see the larger version.