I have a slick slider set to Center Mode with an even number of slidesToShow. The goal is to have the active slides at full opacity (1) and inactive slides at half opacity (0.5). However, due to the even number of slides, the implementation is not working correctly. Slick.js automatically applies a 'slick-active' class, but it is causing issues in this scenario. https://i.sstatic.net/7aroL.jpg
In the image, you can see that the first half of the inactive slides on the left are at half opacity. I want the same effect for the 5th slide, which has the 'slide-active' class. Unfortunately, the nth-child and last-child selectors do not seem to be functioning as expected.
Any suggestions for a workaround?