Here's a unique way to use your solar lights. They aren't just for the ground! We took 2x4 and cut them into squares to fit the original existing posts. Using galvanized screws - Not nails - Screw a "L" bracket to the underneath base. Then on top, screw on the stake - modify for deck lighting.
Fence Solar Lighting = 2x4's cut to 2.5 inches long, drill 1 inch hole, attach to fence posts with "L" brackets, and drop the Dollar Tree solar lights in the hole. TAH-DAH!!! Cheap, easy, and beautiful lighting around the entire back yard. Yes!!!