Mmm, thing is it's not Visual Index - it is something custom I have been trying to do.
Tried to implement some of the stuff from your link, but did not work.
Here is the code so far:
.imgWrap {
position: relative;
height: 236px;
width: 250px;
}
.imgDescription {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
background: rgba(255, 255, 255, 0.7);
color: #FF8C00;
visibility: hidden;
opacity: 0;
-webkit-transition: opacity 1s;
-moz-transition: opacity 1s;
-o-transition: opacity 1s;
transition: opacity 1s;
}
.imgWrap:hover .imgDescription {
visibility: visible;
opacity: 1;
}
.crop {
width: 225px;
height: 225px;
overflow: hidden;
}
.crop img {
height: 100%;
width: auto;
margin: 0px 0px 0px -60px;
}
Any suggestions on how to get text to align to the middle?
I tried text-align: center; but then it varied from image to image...