Re: Quick Look or Quick View of Product
Try this:
I made the quickbutton box the same size as the thumbnail (tweak the height as needed if you have other categories with taller thumbnails) and changed the vertical background alignment to center which allows the image to be centered, then removed the margin-top and added relative to the parent element so that we could use the position:absolute and top/left:0 to place the box directly on top of the thumbnail.
You may want to add cursor:pointer; to .quickbutton as well so that it feels more like a usable button.
Try this:
Code:
.quickbutton { display: block; height: 125px; margin-left: auto; margin-right: auto; position: absolute; top:0; left:0; text-align: center; width: 216px; z-index: 2000; } .quickbutton:hover { background: url("/mm5/graphics/quicklook-button/btn_quick-look.png") no-repeat scroll center center transparent; display: block; height: 125px; margin-left: auto; margin-right: auto; position: absolute; top:0; left:0; text-align: center; width: 216px; z-index: 2000; } .CTGY .product-details, .PLST .product-details, .SRCH .product-details{ position:relative; }
You may want to add cursor:pointer; to .quickbutton as well so that it feels more like a usable button.
Comment