Described herein is a method for shaping keratin fibres including (i) providing a crosslinking composition comprising from about 1% to about 20% of a dialdehyde compound, optionally a photocatalyst, and a cosmetically acceptable carrier; (ii) applying the crosslinking composition to keratin fibres; and (iii) mechanically shaping the keratin fibres with an appliance at a temperature of about 50° C. to about 280° C.