Caz1570048375 Posted January 11, 2021 Posted January 11, 2021 Site URL: https://www.timkentphotographer.com/ I'm struggling to add hover over captions with a dark background to the centre of my images. Have only managed to get them at the bottom of the image. When changing the amounts to move it further up the image to the centre it crops the photo. This is on a simple gallery. I have attached an example of what mine looks like and what I'd 'd like it to look like. Current code I''m using is below: .gallery-caption p{text-align:center} .gallery-caption p{font-size:0.8rem!important} .gallery-caption p{font-family:pragmatica-extended!important} .gallery-caption {margin-top: -15%} .gallery-caption {opacity:0!important} .gallery-grid-item:hover .gallery-caption {opacity:1!important; transition-duration:0s} .gallery-grid-item {opacity: 1;filter: alpha(opacity=40);} img:hover {opacity: 0.4;filter: alpha(opacity=100)}
RyanDejaegher Posted January 11, 2021 Posted January 11, 2021 Hey @Caz1570048375 it looks like your gallery isn't displaying any of the metadata at the moment so it won't be possible for the text to appear. Did you make some changes to the gallery recently? Philadelphia, PA 👉 Squarespace Tutorials Chat/Message on FB Messenger for quickest response: https://m.me/dejaegherryan
Caz1570048375 Posted January 11, 2021 Author Posted January 11, 2021 Hi Ryan, I've had to remove the code display purposes for now.
tuanphan Posted January 13, 2021 Posted January 13, 2021 Can you edit Section > enable caption first? We can check easier On 1/11/2021 at 11:39 PM, Caz1570048375 said: Hi Ryan, I've had to remove the code display purposes for now. 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!)
Caz1570048375 Posted January 13, 2021 Author Posted January 13, 2021 15 hours ago, tuanphan said: Can you edit Section > enable caption first? We can check easier I have done this now
tuanphan Posted January 17, 2021 Posted January 17, 2021 On 1/14/2021 at 3:07 AM, Caz1570048375 said: I have done this now We don't see caption here. Have you enabled caption + add some demo captions yet? 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
Archived
This topic is now archived and is closed to further replies.