The present invention relates to a general process for treating keratin substances, preferably keratin fibres, comprising the following steps: c) applying to the keratin substances a composition comprising at least one photo-crosslinkable polymer including at least one photo-dimerizable pendant group and at least one hydrophobic pendant group, and d) irradiating said composition on the keratin substances to crosslink the polymer.p