Yeah that’s the correct way to do it. It should work if you’re adding it to the wrap or inner (whichever one you want), it works fine for me.
No matter where you place the code, the shadow should at least show up around the ID or Class you assign it to.