0
出于某种原因,我的所有产品都堆叠为2,如果我更改Columns-2/3/4/5它始终保持在2?Woocommerce栏不会超过2行吗?
如果你只是看我的主页,你会明白,我认为它是一个简单的修复,但我已经事先现在正试图为天:(
http://www.motorbike-shop.co.uk/
谢谢!
出于某种原因,我的所有产品都堆叠为2,如果我更改Columns-2/3/4/5它始终保持在2?Woocommerce栏不会超过2行吗?
如果你只是看我的主页,你会明白,我认为它是一个简单的修复,但我已经事先现在正试图为天:(
http://www.motorbike-shop.co.uk/
谢谢!
我看着你的问题。它与clear:both !important;
,你可以很容易地修复这个bij使用你的元素clear:none!important;
例如: 这是位于local.css在l ine 165
@media screen and (min-width: 1240px)
.page-template-template-fullwidth-php .site-main .columns-4 ul.products li.product, .page-template-template-homepage-php .site-main .columns-4 ul.products li.product, .storefront-full-width-content .site-main .columns-4 ul.products li.product {
width: 22%;
float: left;
margin-right: 1.347826%;
clear: none !important; <- Add this rule!
}
你应该在这里分享你的代码,而不是链接到你的网站。请阅读:https://stackoverflow.com/help/how-to-ask –