Optical solitons are self-trapped light beams that maintain their shape and transverse dimension during propagation. This paper investigates the propagation of solitons in an optical material with a weak nonlocal media, modeled by a cubic-quintic-septimal nonlinearity. The extended hyperbolic function method is used to derive the exact traveling wave solutions of the equation expressed in hyperbolic, rational and trigonometric functions multiplied by exponential functions in the form of the periodic, bright, kink and singular type solitons. These solutions provide explicit expressions for the behavior of optical waves in media. Our findings provide better understanding of the dynamics of the nonlinear waves in optical media and may have practical applications in optical communication and signal processing. The role of nonlocal nonlinearity and time constant on soliton solutions is also discussed with the help of graphs.