Css Woocommerce商店页面产品利润率

Css Woocommerce商店页面产品利润率,css,woocommerce,wordpress-theming,margin,woocommerce-theming,Css,Woocommerce,Wordpress Theming,Margin,Woocommerce Theming,我有最艰难的时间摆脱这个产品的权利,在我的自定义WooCommerce主题的利润,位于商店页面。我尝试过的一切似乎都不起作用。以下是HTML输出: <div class="products"> <div class="col-md-4 post-17 product type-product status-publish has-post-thumbnail first instock featured shipping-taxable purchasable product

我有最艰难的时间摆脱这个产品的权利,在我的自定义WooCommerce主题的利润,位于商店页面。我尝试过的一切似乎都不起作用。以下是HTML输出:

<div class="products">
 <div class="col-md-4 post-17 product type-product status-publish has-post-thumbnail first instock featured shipping-taxable purchasable product-type-simple" style="margin-right:0 !important;">
 <a href="http://localhost:8888/wordpress/product/product-1/" class="woocommerce-LoopProduct-link"><img width="300" height="252" src="http://localhost:8888/wordpress/wp-content/uploads/2017/05/LCL_WEB-_31-300x252.png" class="attachment-shop_catalog size-shop_catalog wp-post-image" alt="LCL_WEB-_31" title="LCL_WEB-_31"><h2 class="woocommerce-loop-product__title">Product #1</h2>
<span class="price"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$</span>25.00</span></span>
这是

如果要将不同的产品相邻显示,请使用内联块:

.product {
    display: inline-block
}
“显示”特性块始终填充其父特性块的整个宽度

            <div class="col-md-4 post-29 product type-product status-publish has-post-thumbnail  instock featured shipping-taxable purchasable product-type-simple" style="margin-right:0 !important;">
<a href="http://localhost:8888/wordpress/product/product-3/" class="woocommerce-LoopProduct-link"><img width="300" height="255" src="http://localhost:8888/wordpress/wp-content/uploads/2017/05/LCL_WEB-_33-300x255.png" class="attachment-shop_catalog size-shop_catalog wp-post-image" alt="LCL_WEB-_33" title="LCL_WEB-_33"><h2 class="woocommerce-loop-product__title">Product #3</h2>
<span class="price"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$</span>450.00</span></span>
.product {
    display: inline-block
}