In cholesteric liquid-crystalline gels, the mechanical role of the polymer network over the structure of the whole gel has been ignored. We show that it is the stress gradient exerted by the network over the helical structure that drives the broadening of the optical band gap, as evidenced by the absence of a gradient in chiral species. Model calculations and finite-difference time-domain simulations show that the network acts as a spring with a stiffness gradient. The present results indicate a revision to the common understanding of the physical properties of liquid-crystalline gels is necessary when a concentration gradient in a polymer network is present.