Hold the vinyl fence up to the cinder block wall at the location where you'll attach it. Have a helper place a level on the vinyl fence rail and check that it is even. Then have him trace around the horizontal rails onto the cinder block wall with a felt-tip marker.
Remove the fence to expose the traced lines on the cinder block wall. Equip an electric drill with a 1/2-inch masonry bit. Set a wall mount bracket within the traced lines and mark each slot location on the wall. Drill holes into the cinder block wall. Repeat this process on each traced area on the cinder block wall.
Insert the tapered ends of 1/4-inch lag screw expansion shields into each hole. Hit the back of the anchors with a hammer to set them flush with the cinder block wall surface.
Place the bracket on the wall lining up the anchor holes with the slots in the bracket. Slip the 1/4-inch anchor bolts through the bracket slots and into the set anchor. Rotate the fasteners in a clockwise direction with an adjustable wrench to secure the bracket to the wall.
Place the vinyl fence’s horizontal rails over the brackets.