Gabrielesea Posted January 31, 2022 Posted January 31, 2022 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!
tuanphan Posted February 4, 2022 Posted February 4, 2022 Can you share link to gallery? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment