我有一个 woocommerce 网站,我想在 shope 页面和 home 页面上每行显示 2 个产品屏幕。现在写它每行只显示 1 个产品。网站链接www.obscot.com
最佳答案
你需要在你的 style.css 中用 CSS 定义你的移动宽度并且需要添加这样的规则
@media(max-width:767px){
.entry-content .products li {
float: left;
width: 50%;
}
}
它看起来像这样 http://prntscr.com/f2uiq2 谢谢
关于css - 在 woocommerce 的移动 View 中每行显示 2 个产品,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43717951/