Feblanc Posted January 7, 2021 Share Posted January 7, 2021 Site URL: https://www.aestory.com Hi, I'm having difficulties with creating colour blocks on image overlay. I found code and entered it in the injection custom css of the page (aestory.com/explore) which worked but doesn't on an other page (aestory.com/stories). It worked for a moment but the code I used affected both pages. I want to create colour block when hovering on an image (poster, for example) on two different pages (two different colours). Thanks in advance! Link to comment
tuanphan Posted January 9, 2021 Share Posted January 9, 2021 Hi. Which code did you use? 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!) Link to comment
Feblanc Posted January 9, 2021 Author Share Posted January 9, 2021 Hi, thanks for getting back to me. Here is the code I used: <style> @media only screen and (min-width: 660px) { .design-layout-poster .image-card-wrapper { visibility: hidden; opacity: 0; transition-duration: .3s; } .design-layout-poster:hover .image-card-wrapper { visibility: visible; opacity: 1; background-color: hsla(193, 80%, 14%, 1); } } </style> Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 Hi. You want apply same hover effect for 2 pages, or 1 page only? 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!) Link to comment
Feblanc Posted January 10, 2021 Author Share Posted January 10, 2021 I want to apply the hover effect on 2/3 pages but not the same colour block. Link to comment
Feblanc Posted January 13, 2021 Author Share Posted January 13, 2021 Hi! I also would like to apply this to the "shop" page. Link to comment
tuanphan Posted January 17, 2021 Share Posted January 17, 2021 On 1/13/2021 at 7:18 PM, Feblanc said: Hi! I also would like to apply this to the "shop" page. With Story Page, You can add some blank character for Image 2, the code will work. With shop page, it looks like you solved? 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!) Link to comment
Feblanc Posted January 28, 2021 Author Share Posted January 28, 2021 Hi! The problem has sort itself out, weirdly. But for the shop page, I'd like to have the image overlay with the title below the image. With this template I can only have the title on the image overlay. I don't think the code works for the "shop" page as the images are not poster block. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.