To make Classic Nanaimo Bars gluten free, replace the graham cracker crumbs with certified gluten-free graham cracker crumbs or crushed gluten-free vanilla cookies. Confirm that the cocoa powder, flaked coconut, almonds, custard powder, confectioners’ sugar, semisweet chocolate, butter, and heavy cream are certified gluten free or processed without gluten cross-contamination. If using a custard powder substitute, choose a gluten-free vanilla pudding powder or gluten-free custard mix. Chill the bars well before slicing, as gluten-free crumb bases can be slightly more delicate.