wordpress woocommerce image size - container is st

2019-09-14 20:00发布

问题:

First of all, i will apologise for my badly written english, never really went to school. So please be nice.

I have some problems with the website im building in wordpress.

I'm are using "the7" theme.

i have set the size, of the images in the product settings, and regenerated the images, with the plugin that there is recommended. And it it's working fine in the product page. But not in my custom "webshop" page. The container, where the images is stored, is simply to big. and i cant find any way to fix it.

The URL http://www.imobile.dk/webshop/

i would like the image to be 150x150. and it is, but it's is stretched. on my computer (617x617) original is 150x150.

dose anyone has any idea, how to fix this?

i think the theme it self, is overwriting the default settings.

i really need you're guys help.

Thanks.

回答1:

You can try the following: In your wp-admin go to "appearence" -> "Editor" and then put this in your style.css file:

.woo-buttons-on-img {
    max-width: 150px;
}