danielhaydenh Posted November 27, 2020 Posted November 27, 2020 Site URL: https://dhaydendesign.com/portfolio-test I'm trying to add custom css to my site to allow the captions to show on hover over, however when the image has a clickthrough link attached to it the code isn't behaving. Can someone advise me please. Below is the code i have used. .gallery-caption-grid-masonry { opacity: 0; z-index: -1; transition: all .2s; position: absolute; top: 50%; transform: translateY(-50%); left: 0; text-align: center; color: #fff; height: 100%; padding: 0; } .gallery-masonry-item:not(.has-clickthrough) .gallery-caption-grid-masonry:before { background-color: #0c3448; content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 999; opacity: .8; transition: all .2s; } .gallery-masonry-item.has-clickthrough:hover .gallery-caption-grid-masonry { z-index: 0; opacity: 1; height: auto; } .gallery-masonry-item:not(.has-clickthrough):hover .gallery-caption-grid-masonry { z-index: 0; opacity: .9; } .gallery-masonry-item:hover .gallery-caption-grid-masonry:before { opacity: 1; transition: all .3s; } .gallery-caption-grid-masonry .gallery-caption-wrapper { display: flex; align-items: center; justify-content: center; } .gallery-caption-grid-masonry p.gallery-caption-content { z-index: 1000; font-size: 1.9rem; }
tuanphan Posted December 5, 2020 Posted December 5, 2020 Hi. Do you still need help on this? 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!)
MakingWaves Posted February 24, 2021 Posted February 24, 2021 Hey guys! Thought I'd post on this thread rather than create a new one. I've added some css to this site to get the gallery displaying differently. I'd like to change the text link colour but can't work out how to change it. Can you help? TIA 🙂 //Gallery title font overlay// .sqs-gallery-block-slideshow .meta .meta-title { font-family: "Playfair Display"; font-style: italic; letter-spacing: 0.05em; line-height: 26px; } //Gallery Slideshow Fonts & Colours// .sqs-gallery-block-slideshow .meta .meta-title { font-family: Playfair Display; font-style: italic; letter-spacing: 0.05em; font-size: 24px; color: #273e38; } .sqs-gallery-block-slideshow .meta .meta-description p { font-family: Source Sans Pro; font-style: normal; font-size: 15px; line-height: 33px; padding-top: 20px; padding-left: 50px; padding-right: 50px; color: #273e38; opacity: 1; } https://echidna-cymbals-2kjy.squarespace.com/ p/w coaching
tuanphan Posted March 1, 2021 Posted March 1, 2021 On 2/24/2021 at 10:06 PM, MakingWaves said: Hey guys! Thought I'd post on this thread rather than create a new one. I've added some css to this site to get the gallery displaying differently. I'd like to change the text link colour but can't work out how to change it. Can you help? TIA 🙂 //Gallery title font overlay// .sqs-gallery-block-slideshow .meta .meta-title { font-family: "Playfair Display"; font-style: italic; letter-spacing: 0.05em; line-height: 26px; } //Gallery Slideshow Fonts & Colours// .sqs-gallery-block-slideshow .meta .meta-title { font-family: Playfair Display; font-style: italic; letter-spacing: 0.05em; font-size: 24px; color: #273e38; } .sqs-gallery-block-slideshow .meta .meta-description p { font-family: Source Sans Pro; font-style: normal; font-size: 15px; line-height: 33px; padding-top: 20px; padding-left: 50px; padding-right: 50px; color: #273e38; opacity: 1; } https://echidna-cymbals-2kjy.squarespace.com/ p/w coaching Did you remove it? I don't see it on homepage 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!)
MakingWaves Posted March 1, 2021 Posted March 1, 2021 Yes, the client's just removed them as she wanted to go live. Are you able to help without them on there??
tuanphan Posted March 3, 2021 Posted March 3, 2021 On 3/1/2021 at 7:36 PM, MakingWaves said: Yes, the client's just removed them as she wanted to go live. Are you able to help without them on there?? You can duplicate site, add there & share url. 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.