ChristofferAaberg Posted August 18, 2022 Posted August 18, 2022 Hi there, I'm having problems using the following custom CSS on my website. I've used the exact same code in january 2022, without any problems. Doing the same now, with a new website and it's not working. Are there problems regarding the new Fluid Engine? Or does anyone have a solution? Does the custom CSS need a change? - Cheers :) ______________________ .gallery-caption { position: absolute; top: 0; left: 0; background: rgba(0,0,0,0.4); /* overlay color */ height: 100%; max-width: unset; padding: 0; opacity: 0; } .gallery-caption-wrapper { display: flex; align-items: center; /* center vertically */ justify-content: center; /* center horizontally */ } .gallery-caption-content { font-size: 1.5rem !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; } .sqs-portfolio-image-link:after { content:''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 9999; }
ChristofferAaberg Posted August 18, 2022 Author Posted August 18, 2022 I've also tried with this bottom part instead, without any luck.. } .gallery-grid-image-link:after { content:''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 9999; }
tuanphan Posted August 21, 2022 Posted August 21, 2022 Can you share link to page where you want to apply the code on your new site? 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