Move on to the next track. Use a tape measure to measure 22 inches from those marks. Place the second track vertically, 21 inches off the floor, with a level to mark holes. Repeat this step two more times. Editor’s Tip: The type of hardware you use to attach the rails will differ, based on the material of your wall and whether you’re attaching to a stud. Drywall, plaster, and brick walls each require unique hardware. Use screws to secure the brackets to each shelf. Dabito first used an 1/8-inch drill bit to create a hole for the screws. You can also spot-treat the screws by dabbing on some gold paint with a brush.