Hi @evaverdaguer,
I hope you are well today and thank you for your question.
Not everything is achieved using CSS and to achieve this you have to use the sparkling child theme solution shared in the following topic.
https://colorlibsupport.com/t/slider-with-link-to-the-post/#post-80389
Best Regards,
Movin