How do I keep this inline? Even vertical-align: top; is not working. As you can see on the image of the product is not perfectly align or not inline. I think the problem is the product name. The product name should be inline. Btw I’m using an isotope jquery. What should I do?
//Container of each products
.product-feature {
text-align: center;
position: relative;
max-width: 100%;
font-family: 'Vitesse-Bold';
vertical-align: top;
}
//Product-Item-Details and Product name(Font Size)
.product-item-details .product-item-name {
font-size: 14px;
margin-bottom: -4px !important;
}
//Class of product name
.product-item-name {
word-wrap: break-word;
margin: 5px 0;
webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
//Product Item name font style, colors, text-transform
and etc.
.product-item-details .product-item-name a {
font-size: 14px;
font-weight: normal;
font-family: Vitesse-Bold;
color: #333;
text-transform: capitalize;
display: inline-block;
word-break: break-word;
}
//Hover item name
.product-item-details .product-item-name a:hover {
color: #333;
text-decoration: underline !important;
}
//Container of each product image
.product-image-container {
display: inline-block;
max-width: 100%;
}
//Wrapper of Image
.product-image-wrapper {
display: block;
height: 0;
overflow: hidden;
position: relative;
z-index: 1;
}
//Product-image Photo
.product-image-photo {
display: block;
margin: auto;
height: auto;
max-width: 100%;
top: 0;
right: 0;
bottom: 0;
left: 0;
bottom: 0;
}
//styles of brands
.product-item-brand {
font-family: Vitesse-Light;
font-size: 14px;
line-height: 1.42857143;
margin: 0 0px 0px;
}
//min-height of product-brand
.product-item-details .product-item-brand {
min-height: 20px;
}
SS: