Hello all,
I'm trying to make a clickable image with a hover effect as well,
I have this code in:
.gallery-caption {
position: absolute;
top: 0;
left: 0;
background: rgba(0,0,0,0.8); /* overlay color */
height: 100%;
max-width: unset;
padding: 0;
opacity: 0;
pointer-events: none; /* enable click */
}
.gallery-caption-wrapper {
display: flex;
align-items: center; /* center vertically */
text-align: center;
justify-content: center; /* center horizontally */
}
.gallery-caption-content {
font-size: 0.8rem !important; /* caption font size */
color: white; /*caption font color */
}
.gallery-grid-item {
position: relative;
}
.gallery-grid-item:hover .gallery-caption {
opacity: 1;
}
.gallery-caption-grid-simple {
transition-delay: 0ms;
}
It makes me happy with the result, however where the words "Marketplace: click here" begin - I would like to have it as another paragraph, have the space between the text ant that phrase. Could anyone help with the code for that please?
Thank you!