I am having issues getting my viewproductbutton
to go overtop of it's parent div. I have added a z-index
to the element and have tried to position it with position: relative;
and position: absolute;
. Nothing is getting it to position in the top right corner as I want it.
Here is a fiddle https://jsfiddle.net/Lrdswa5a/
What am I not doing right
Here is the working jsfiddle: https://jsfiddle.net/Lrdswa5a/5/
If you replace your '.featuredproductspic' and '.viewproductbutton' with the following:
and
Then the button is on the top right of the image.
Cheers!