Answer the question
In order to leave comments, you need to log in
Why does the countdown start from the middle?
https://jsfiddle.net/papabig/zj40dwjg
On hover, the second image is overlaid from the middle. Also, the product labels are placed in the middle, and not at the top of the image, as expected. You can, of course, move the negative top, but I'm rather looking not for solutions, but I want to understand why it is from the middle.
I would like it to be like on this site https://wildwearshop.com/
Answer the question
In order to leave comments, you need to log in
Because the element is positioned from the inline product-link element.
.product-link {
position: relative;
display:block;
height:100%;
width:100%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question