2017-06-15 95 views
0

我在我的shop中有一個「添加到購物車」按鈕的問題。添加到購物車按鈕是missalligned,並且看起來非常糟糕,所以我想在所有行中。這是從該部分的CSS:如何在WooCommerce中添加到購物車按鈕?

.dark .button.is-form:hover,.button:hover,input[type='submit']:hover,input[type='reset']:hover,input[type='button']:hover { 
outline: none; 
opacity: 1; 
color: #000; 
box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2); 
} 

如何使添加到購物車按鈕alligned在一行中顯示相同的圖像? enter image description here

+0

嗨粘貼鏈接添加到購物車按鈕在您的網站上。 –

+0

有我的第一篇文章中的網址。 – DrMTR

回答

1

你必須對所有的產品包裝盒不同的尺寸, 修復產品的高度變小,

.product-small{ 
    height: 490px; 
} 

按鈕將自動調節即可。

+0

這並未解決問題。當插入該代碼時,我會重疊產品圖像,並且添加到購物車按鈕不包含在產品圖像中。 – DrMTR

相關問題