I try to add a margin to the background overlay while Hovering a post. But I can't get margin everywhere. Margins only shows on the top and the left part of the overlay background (see attached file).
Here is the CSS I wrote:
.nectar-post-grid[data-hover-effect=slow_zoom] .bg-overlay { margin: 20px ; }
could you help me choosing the good selector and the right CSS style?
Hello,
I try to add a margin to the background overlay while Hovering a post. But I can't get margin everywhere. Margins only shows on the top and the left part of the overlay background (see attached file).
Here is the CSS I wrote:
.nectar-post-grid[data-hover-effect=slow_zoom] .bg-overlay {
margin: 20px ;
}
could you help me choosing the good selector and the right CSS style?
Attached files: Capture d’écran 2025-02-28 à 15.15.24.png
Hi Chloe,
Thank you for reaching out to us.
Try replacing your CSS with this one and let us know how it goes.
We look forward to your reply.
Thanks,
Hi Andrew,
it works perfectly. Thanks for you help !
Hi Chloe,
Thank you for getting back to us.
I'm glad we could assist. Feel free to reach out if you have any other queries.
Cheers,