Hi friends! I'm having an issue adding hover effects for images in the blog section. I was using this code to create blurry/darkening effect upon hovering over images:
/* Blog List - Hover Effect */
.blog-basic-grid--text {
position: absolute;
top: 50%;
left: 50%;
text-align: center;
transform: translate(-50%,-50%);
opacity: 0;
transition: all 0.1s;
}
article.blog-basic-grid--container.entry.blog-item.is-loaded {
position: relative !important;
transform: unset !important;
}
.blog-basic-grid article:hover .blog-basic-grid--text {
opacity: 1;
transition: all 0.1s;
}
.blog-basic-grid .image-wrapper:after {
content: "";
background: inherit;
background-color: rgba(0, 0, 0, .3);
backdrop-filter: blur(5px); transition:2s;
height: 80%;
width: 80%;
margin:auto!important;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: all 0.1s;
}
.blog-basic-grid article:hover .image-wrapper:after {
opacity: 1;
transition: all 0.2s;
}
.blog -basic-grid .image-wrapper {
position: relative;
}
The blur effect shows up fine when I'm in the 'editing' mode (screenshot attached), but when I open the website from a different browser/different devices, the blurr effect doesn't appear. Please help me identify where the problem might be. Many thanks!