Divi图片库缩略图定位

我目前正在使用Divi Gallery Module构建画廊, 其中一些图像是水平的, 有些是垂直的。

问题在于主题会自动选择适合水平缩略图的缩略图, 但是缩略图在垂直(人像)图像上的位置不是我想要的位置。

例如, 有一个人的肖像, 缩略图预览了他的胸部, 而更合适的是显示一个人的肩膀和头部。

有没有办法调整缩略图的位置, 如果可以, 最简单的方法是什么?


#1


我建议你通过浏览器检查元素, 并找到放置在垂直图像上的特定类。了解了该类后, 你就可以使用CSS定位垂直图像了。你可以将CSS添加到style.css或通过Appearance <Customizer(在大多数主题中找到)下的Additional CSS区域添加。

希望有帮助!

来源:

https://www.srcmini02.com/65014.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41130.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?