wordpress woocommerce图像大小 - 集装箱是伸展的图像 [英] wordpress woocommerce image size - container is stretching the image

查看:172
本文介绍了wordpress woocommerce图像大小 - 集装箱是伸展的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我会为我写得不好的英语道歉,从来没真的去上学。

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

我在wordpress中建立网站时遇到一些问题。

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

正在使用the7主题。

I'm are using "the7" theme.

我已设置产品设置中图像的大小,并重新生成图像,推荐使用插件。它的工作正常在产品页面。但不是在我的自定义webshop页面。存储图像的容器很简单。

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.

网址 http://www.imobile.dk/webshop/

我想将图片设为150x150。它是,但它是拉伸。在我的电脑上(617x617)原来是150x150。

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.

我真的需要你们帮助。

感谢。

推荐答案

您可以尝试以下方法:在您的wp-admin中,转到appearence ,然后将其放在style.css文件中:

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;
}

这篇关于wordpress woocommerce图像大小 - 集装箱是伸展的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆