New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问一下主页的缩略图显示大小或者比例可以修改吗 #367
Labels
问题/疑问
Further information is requested
Comments
在主题的自定义样式代码里加入这几行即可,自行修改其中的宽和高 .pk-widget img {
max-width: 100%;
height: 80px;
object-fit: cover;
width: 120px;
}
.thumbnail img {
width: 200px;
height: 100px !important;
object-fit: cover;
} |
非常感谢
---- 回复的原邮件 ----
发件人 ***@***.***> 日期 2024年03月06日 20:05 收件人 ***@***.***> 抄送至 ***@***.***>***@***.***> 主题 Re: [Licoy/wordpress-theme-puock] 请问一下主页的缩略图显示大小或者比例可以修改吗 (Issue #367)
在主题的自定义样式代码里加入这几行即可,自行修改其中的宽和高
.pk-widget img { max-width: 100%; height: 80px; object-fit: cover; width: 120px; } .thumbnail img { width: 200px; height: 100px !important; object-fit: cover; }
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请教一下如何修改显示的比例,或者说裁剪的大小,因为我的图片都是800×538的,现在的比例看起来有点不协调,请问一下如何修改这个裁剪比例或者是说显示的比例
The text was updated successfully, but these errors were encountered: