We have studied the dynamics of photo-chemically active colloids made out of silica cores half covered by successive thin layers of Ti and titania, respectively, and moving within aqueous peroxide solutions when exposed to ultraviolet (UV) light. The particles, initially sedimented at the bottom glass wall, exhibit wall-bound states of motion, dependent on the size of the particle, when illuminated from underneath the wall. Upon increasing the intensity of the UV light above a threshold value, which is also dependent on the size of the particle, the particles lift off the wall and move way from it, i.e., they exhibit a photo-gravitactic behavior bearing similarities with that of microorganisms such as phytoplankton and zooplankton. These dependencies on the particle size are rationalized by using a theoretical model of self-phoresis that explicitly accounts for the "shadowing" effect of the Ti/titania layers. This allows us to unequivocally identify the photochemical activity and phototactic response as the key mechanisms beyond the observed phenomenology. Consequently, one has the means to design photo-gravitatic particles that can reversibly switch between operating near a boundary or in the volume away from the boundary by judiciously adjusting the light intensity, i.e., simply by "turning a knob".