中心在woocommerce上对齐产品名称和价格

时间:2016-08-04 21:58:56

标签: css wordpress woocommerce

有没有人知道如何在woocommerce上集中产品名称和价格? 我试过了

def macd(prices):
        print "Running MACD"
        prices = np.array(prices, dtype=float)
        print prices
        macd, macdsignal, macdhist = talib.MACD(prices, fastperiod=12, slowperiod=26, signalperiod=9)
        print "MACD "+macd

/* Center product elements on shop pages */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
text-align:center;
}
.woocommerce .products .star-rating, .woocommerce-page .products .star-rating {
float:none;
display:block;
margin-left:auto;
margin-right:auto;
}

由于

1 个答案:

答案 0 :(得分:1)

整晚都在努力寻找这个。这似乎对我有用:

.woocommerce .products .product,
.woocommerce .products .product .price
{text-align:center}