Nail fungus can cause the nails to become yellow, discolored, thick, or brittle. The nails might also develop a white or black spot on the surface. In severe cases, the fungus can cause the nails to separate from the nail bed.