简体   繁体   English

垂直对齐woocommerce产品图库缩略图

[英]vertical align woocommerce product gallery thumbnails

i want to vertically align woocommerce gallery thumbnails on product page. 我想在产品页面上垂直对齐woocommerce画廊缩略图。 there is no exact advice anywhere on internet (except if using storefront theme - and i am unsure which information to edit if use same code). 互联网上的任何地方都没有确切的建议(除非使用店面主题-如果使用相同的代码,我不确定要编辑哪些信息)。

i am using divi theme. 我正在使用divi主题。

can anyone help by sharing the code which would work for divi theme, or advise what to edit about the storefront theme code for vertical alignment so is ok for divi, or can someone advise where i can find and change the code for making the galleries into one column? 任何人都可以通过共享适用于divi主题的代码来提供帮助,或建议对店面主题代码进行垂直对齐以进行哪些编辑,以便divi可以使用,或者有人可以建议我在哪里可以找到并更改用于制作画廊的代码一栏?

thanks so much in advance 提前非常感谢

I had the same problem, I solved it adding this code in style.css 我有同样的问题,我通过在style.css中添加此代码来解决

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100% !important;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM