NO BUG: Custom Code not working

URL: (Glow Box – Adam Bak)
Video: https://www.youtube.com/watch?v=Mfi8D9rWxEI&t=578s

Hi!
I’ve followed this tutorial above step by step 2 times. I haven’t miss anything. But neither the CSS or the JS seems to work. It looks like I wouldn’t have made any changes, nothing appears from the custom codes. I can’t figure out what could be the problem. please guys help me out!
Thanks, Adam!

Hi Adam,
Welcome to the forum, and thanks so much for your report!

First of all, your custom JS targets the wrong class (it should be card instead of featured-card):

In addition, your styles are distributed on the ID and the .card class, which probably leads to an undesirable result.

Take some time again and check your code and styles, then it will work :slight_smile:

Best regards,
timmse

Man! Thank you very much! I could have never figure this out! Also I had do tweek the z-index a bit and everything works just fine. Yes, this wasn’t a bug, I’m sorry for that mistake. Thank you very much again, have a great day!